mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 13:59:49 -04:00
Try to fix freeze issues
This commit is contained in:
parent
8be96902e0
commit
1df8d03278
@ -108,16 +108,18 @@ Section MAIN
|
||||
${endif}
|
||||
|
||||
DetailPrint "Installing latest version..."
|
||||
nsExec::Exec `msiexec /passive /norestart /i "$PLUGINSDIR\FileBot.msi"`
|
||||
nsExec::Exec `msiexec.exe /passive /norestart /i "$PLUGINSDIR\FileBot.msi"`
|
||||
Pop $MSI_STATUS # grab return value
|
||||
|
||||
${if} $MSI_STATUS == "0"
|
||||
DetailPrint "Optimizing..."
|
||||
nsExec::ExecToLog `"C:\Program Files\FileBot\filebot.exe" -script "g:println net.filebot.Settings.getApplicationIdentifier(); println 'JRE: ' + Settings.getJavaRuntimeIdentifier(); println String.format('JVM: %d-bit %s', com.sun.jna.Platform.is64Bit() ? 64 : 32, System.getProperty('java.vm.name')); java.util.prefs.Preferences.userRoot(); net.filebot.CacheManager.getInstance().clearAll(); net.filebot.media.MediaDetection.warmupCachedResources();" --log OFF`
|
||||
DetailPrint "Done."
|
||||
DetailPrint "Done. Before you get started, please have a look at the FAQ."
|
||||
ExecShell open `http://www.filebot.net/forums/viewtopic.php?f=3&t=7`
|
||||
${else}
|
||||
DetailPrint "msiexec error $MSI_STATUS"
|
||||
DetailPrint "Installation failed. Please download the .msi package manually."
|
||||
ExecShell open `https://app.filebot.net/download.php`
|
||||
Abort
|
||||
${endif}
|
||||
SectionEnd
|
||||
|
Loading…
x
Reference in New Issue
Block a user