This is a simple panorama viewer based on Photo Sphere Viewer. https://dalan.fr/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.0KB

  1. $version="1.0"
  2. if (Test-Path dist\"SimplePanoramaViewer-$version-win64.exe")
  3. {
  4. Remove-Item dist\"SimplePanoramaViewer-$version-win64.exe" -Force -Recurse
  5. }
  6. if (Test-Path dist\SimplePanoramaViewer)
  7. {
  8. Remove-Item dist\SimplePanoramaViewer -Force -Recurse
  9. }
  10. pandoc -i LICENSE.md -s -o LICENSE.rtf
  11. pyinstaller SimplePanoramaViewer_folder.spec
  12. Start-Process -FilePath "C:\Program Files (x86)\Inno Setup 5\compil32.exe" -ArgumentList "/cc", "win-setup.iss" -Wait
  13. Remove-Item dist\SimplePanoramaViewer -Force -Recurse
  14. Get-FileHash "dist/SimplePanoramaViewer-$version-win64-setup.exe" -Algorithm SHA512 | Select-Object -ExpandProperty Hash | Out-File "dist/SimplePanoramaViewer-$version-win64-setup.exe.sha512sum"
  15. pyinstaller SimplePanoramaViewer_file.spec
  16. Rename-Item -Path "dist\SimplePanoramaViewer.exe" -NewName "SimplePanoramaViewer-$version-win64.exe"
  17. Get-FileHash "dist/SimplePanoramaViewer-$version-win64.exe" -Algorithm SHA512 | Select-Object -ExpandProperty Hash | Out-File "dist/SimplePanoramaViewer-$version-win64.exe.sha512sum"