Skip to content

Commit

Permalink
Fixed Windows index_template.json install
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed Oct 10, 2024
1 parent 1e9b95b commit bbb29b0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fim"
version = "0.5.0"
version = "0.5.1"
authors = ["José Fernández <´[email protected]´>"]
edition = "2021"

Expand Down
6 changes: 6 additions & 0 deletions pkg/deb/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
fim (0.5.1-1) xenial; urgency=medium

* More info: https://github.com/Achiefs/fim/releases/tag/v0.5.1

-- Jose Fernandez <[email protected]> Thu, 10 Oct 2024 20:32:00 +0000

fim (0.5.0-1) xenial; urgency=medium

* More info: https://github.com/Achiefs/fim/releases/tag/v0.5.0
Expand Down
1 change: 1 addition & 0 deletions pkg/msi/builder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cd pkg\msi

cp ..\..\target\release\fim.exe .\
cp ..\..\config\windows\config.yml .\
cp ..\..\config\index_template.json .\
cp ..\..\config\windows\rules.yml .\

Invoke-Expression "& `"C:\Program Files (x86)\WiX Toolset v3.*\bin\candle.exe`" .\fim.wxs -o .\fim.wixobj"
Expand Down
4 changes: 4 additions & 0 deletions pkg/msi/fim.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ https://github.com/Achiefs/fim/wiki" />
<Component Id='ConfigFile' Guid='*' Win64="yes">
<File Id='CONFIG' Name='config.yml' DiskId='1' Source='config.yml' KeyPath='yes'></File>
</Component>
<Component Id='IndexTemplateFile' Guid='*' Win64="yes">
<File Id='CONFIG' Name='index_template.json' DiskId='1' Source='index_template.json' KeyPath='yes'></File>
</Component>
<Component Id='RulesFile' Guid='*' Win64="yes">
<File Id='RULES' Name='rules.yml' DiskId='1' Source='rules.yml' KeyPath='yes'></File>
</Component>
Expand All @@ -44,6 +47,7 @@ https://github.com/Achiefs/fim/wiki" />
<Feature Id='MainProgram' Title='Program' Description='The main executable.' Level='1'>
<ComponentRef Id='MainExecutable' />
<ComponentRef Id='ConfigFile' />
<ComponentRef Id='IndexTemplateFile' />
<ComponentRef Id='RulesFile' />
</Feature>
</Feature>
Expand Down
3 changes: 3 additions & 0 deletions pkg/rpm/fim.spec
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ rm -fr %{buildroot}
# -----------------------------------------------------------------------------

%changelog
* Thu Oct 10 2024 support <[email protected]> - 0.5.1
- More info: https://github.com/Achiefs/fim/releases/tag/v0.5.1

* Tue Apr 30 2024 support <[email protected]> - 0.5.0
- More info: https://github.com/Achiefs/fim/releases/tag/v0.5.0

Expand Down
2 changes: 1 addition & 1 deletion src/appconfig.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (C) 2021, Achiefs.

// Global constants definitions
pub const VERSION: &str = "0.5.0";
pub const VERSION: &str = "0.5.1";
pub const NETWORK_MODE: &str = "NETWORK";
pub const FILE_MODE: &str = "FILE";
pub const BOTH_MODE: &str = "BOTH";
Expand Down

0 comments on commit bbb29b0

Please sign in to comment.