🐛 Small bug fixes

This commit is contained in:
Florian Metz
2020-01-26 02:29:10 +01:00
parent e1253cadae
commit 85b16aa6b9
3 changed files with 34 additions and 38 deletions

View File

@@ -83,6 +83,10 @@ jobs:
password: ${{ secrets.SSHPASSWORD }}
script: |
cd /home/PreMiD/download/util
unzip upgrader.app.zip
tar -czvf upgrader.app.tgz upgrader.app
mv upgrader.app.tgz ../
rm -rf upgrader.app upgrader.app.zip
unzip windows-latest.zip
cp updater.exe windows-latest/PreMiD-win32-x64/updater.exe
cp update.ini windows-latest/PreMiD-win32-x64/update.ini
@@ -95,7 +99,7 @@ jobs:
zip -r ../../PreMiD-win32-x86.zip .
mv ../../PreMiD-win32-x86.zip /home/PreMiD/download/
cd ../..
rm -rf windows-latest
rm -rf windows-latest windows-latest.zip
unzip macOS-latest.zip
cp -r updater.app macOS-latest/PreMiD-darwin-x64/updater.app
cp update.ini macOS-latest/PreMiD-darwin-x64/update.ini
@@ -103,4 +107,4 @@ jobs:
zip -r ../../PreMiD-darwin-x64.zip .
mv ../../PreMiD-darwin-x64.zip /home/PreMiD/download/
cd ../..
rm -rf macOS-latest
rm -rf macOS-latest macOS-latest.zip

View File

@@ -225,6 +225,33 @@
</platformTest>
</ruleList>
</registrySet>
<runProgram>
<abortOnError>0</abortOnError>
<program>PreMiD.exe</program>
<programArguments>&amp;</programArguments>
<progressText>Launching PreMiD...</progressText>
<showMessageOnError>0</showMessageOnError>
<workingDirectory>${installdir}</workingDirectory>
<ruleList>
<platformTest>
<type>windows</type>
</platformTest>
</ruleList>
</runProgram>
<runProgram>
<abortOnError>0</abortOnError>
<program>open</program>
<programArguments>${installdir}/PreMiD.app</programArguments>
<progressText>Launching PreMiD...</progressText>
<runAs>${env(USER)}</runAs>
<showMessageOnError>0</showMessageOnError>
<useMSDOSPath>0</useMSDOSPath>
<ruleList>
<platformTest>
<type>osx</type>
</platformTest>
</ruleList>
</runProgram>
</postInstallationActionList>
<preUninstallationActionList>
<actionGroup>
@@ -409,39 +436,6 @@
</quickLaunchShortcut>
</shortcutList>
</createShortcuts>
<runProgram>
<abortOnError>0</abortOnError>
<program>PreMiD.exe</program>
<programArguments>&amp;</programArguments>
<progressText>Launching PreMiD...</progressText>
<showMessageOnError>0</showMessageOnError>
<workingDirectory>${installdir}</workingDirectory>
<ruleList>
<platformTest>
<type>windows</type>
</platformTest>
<isTrue>
<value>${launchApp}</value>
</isTrue>
</ruleList>
</runProgram>
<runProgram>
<abortOnError>0</abortOnError>
<program>open</program>
<programArguments>${installdir}/PreMiD.app</programArguments>
<progressText>Launching PreMiD...</progressText>
<runAs>${env(USER)}</runAs>
<showMessageOnError>0</showMessageOnError>
<useMSDOSPath>0</useMSDOSPath>
<ruleList>
<platformTest>
<type>osx</type>
</platformTest>
<isTrue>
<value>${launchApp}</value>
</isTrue>
</ruleList>
</runProgram>
<launchBrowser>
<url>https://premid.app/store</url>
<ruleList>
@@ -460,3 +454,4 @@
</platformOptions>
</platformOptionsList>
</project>

View File

@@ -286,7 +286,6 @@
</ruleList>
</actionGroup>
</postUninstallationActionList>
<checkForUpdates>1</checkForUpdates>
<compressionAlgorithm>lzham-ultra</compressionAlgorithm>
<description>Rich Presence for web services.</description>
<disableSplashScreen>1</disableSplashScreen>
@@ -308,9 +307,7 @@
<removeUninstallationLogFile>1</removeUninstallationLogFile>
<saveRelativePaths>1</saveRelativePaths>
<summary>Rich Presence for web services.</summary>
<updateInformationURL>https://api.premid.app/app/update</updateInformationURL>
<vendor>Timeraa</vendor>
<versionId>200</versionId>
<windowsExecutableIcon>appIcon.ico</windowsExecutableIcon>
<windowsResourceFileDescription>Rich Presence for web services.</windowsResourceFileDescription>
<windowsUninstallerExecutableIcon>appIcon.ico</windowsUninstallerExecutableIcon>