mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Tidied up resource directory structure
This commit is contained in:
parent
1153087a3c
commit
b6c741d0e5
8 changed files with 11 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
|||
"Compiling resource file"
|
||||
RC /fo res\application.res res\application.rc
|
||||
RC /fo res\windows\application\application.res res\windows\application\application.rc
|
||||
|
||||
""
|
||||
"Compiling executable"
|
||||
cargo rustc --release --features "ui" -- -C link-args="/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup res\application.res"
|
||||
cargo rustc --release --features "ui" -- -C link-args="/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup res\windows\application\application.res"
|
||||
|
||||
""
|
||||
"Creating output directory"
|
||||
|
@ -12,18 +12,18 @@ Remove-Item -Recurse .\release\tmp\*
|
|||
|
||||
""
|
||||
"Copying to output directory"
|
||||
Copy-Item .\target\release\polaris.exe .\release\tmp\
|
||||
Copy-Item .\res\libeay32.dll .\release\tmp\
|
||||
Copy-Item .\res\libeay32md.dll .\release\tmp\
|
||||
Copy-Item .\res\default_config.toml .\release\tmp\polaris.toml
|
||||
Copy-Item .\web\ .\release\tmp\ -recurse
|
||||
Copy-Item .\res\license.rtf .\release\tmp\
|
||||
Copy-Item .\res\banner.bmp .\release\tmp\
|
||||
Copy-Item .\res\dialog.bmp .\release\tmp\
|
||||
Copy-Item .\res\windows\libeay32.dll .\release\tmp\
|
||||
Copy-Item .\res\windows\libeay32md.dll .\release\tmp\
|
||||
Copy-Item .\res\windows\installer\license.rtf .\release\tmp\
|
||||
Copy-Item .\res\windows\installer\banner.bmp .\release\tmp\
|
||||
Copy-Item .\res\windows\installer\dialog.bmp .\release\tmp\
|
||||
Copy-Item .\target\release\polaris.exe .\release\tmp\
|
||||
Copy-Item .\res\default_config.toml .\release\tmp\polaris.toml
|
||||
Copy-Item .\web\ .\release\tmp\ -recurse
|
||||
|
||||
""
|
||||
"Creating installer"
|
||||
candle -wx -arch x64 -out .\release\tmp\installer.wixobj .\res\installer.wxs
|
||||
candle -wx -arch x64 -out .\release\tmp\installer.wixobj .\res\windows\installer\installer.wxs
|
||||
light -wx -spdb -ext WixUIExtension -out .\release\Polaris_0.1.0.msi .\release\tmp\installer.wixobj
|
||||
|
||||
"Cleaning up"
|
||||
|
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 451 KiB |
Loading…
Reference in a new issue