Git Product home page Git Product logo

indielauncher's People

Contributors

dan200 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

indielauncher's Issues

Killing the launcher while downloading update will corrupt the zip and won't download it again

Here the game is Redirection. I'm under Ubuntu 14.04. I stopped the download and started it back, but IndieLauncher corrupted the zip and won't download it again.

Log of the error :

    Caught Exception: Ionic.Zip.ZipException: Could not read /home/s0/.config/IndieLauncher/Games/Redirection/Downloads/0.6.4.zip as a zip file ---> Ionic.Zip.ZipException: Cannot read that as a ZipFile ---> Ionic.Zip.BadReadException: Could not read block - no data!  (position 0x000FED1D)
      at Ionic.Zip.SharedUtilities._ReadFourBytes (System.IO.Stream s, System.String message) [0x00000] in <filename unknown>:0
      at Ionic.Zip.SharedUtilities.ReadInt (System.IO.Stream s) [0x00000] in <filename unknown>:0
      at Ionic.Zip.ZipEntry.HandleUnexpectedDataDescriptor (Ionic.Zip.ZipEntry entry) [0x00000] in <filename unknown>:0
      at Ionic.Zip.ZipEntry.ReadEntry (Ionic.Zip.ZipContainer zc, Boolean first) [0x00000] in <filename unknown>:0
      at Ionic.Zip.ZipFile.ReadIntoInstance_Orig (Ionic.Zip.ZipFile zf) [0x00000] in <filename unknown>:0
      at Ionic.Zip.ZipFile.ReadIntoInstance (Ionic.Zip.ZipFile zf) [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at Ionic.Zip.ZipFile.ReadIntoInstance (Ionic.Zip.ZipFile zf) [0x00000] in <filename unknown>:0
      at Ionic.Zip.ZipFile._InitInstance (System.String zipFileName, System.IO.TextWriter statusMessageWriter) [0x00000] in <filename unknown>:0
      at Ionic.Zip.ZipFile..ctor (System.String fileName) [0x00000] in <filename unknown>:0
      --- End of inner exception stack trace ---
      at Ionic.Zip.ZipFile..ctor (System.String fileName) [0x00000] in <filename unknown>:0
      at Dan200.Launcher.Main.Installer.InstallGame (System.String gameTitle, System.String gameVersion, Dan200.Launcher.Util.ProgressDelegate listener, ICancellable cancelObject) [0x00000] in <filename unknown>:0
    Update failed

macOS applications fail to open

After packaging a mac app with the Deploy script, it successfully creates an app. When trying to open the app, it immediately closes itself with no error. The Console simply reports
com.apple.xpc.launchd[1] (Launcher.35004[17163]): Service exited with abnormal code: 127

Update Failed gives a percentage

On line 52 of Dan200.Launcher.Interface.WinForms.UpdateForm:

this.Text = stage.GetStatus( Program.Language ) + " (" + percentage + "%)";

The trouble is that some GameUpdateStages (NotStarted, Finished, Cancelled and Failed) really don't need percentages and so should probably be hidden on the WinForms title bar.

My best solution is to add another extension method to GameUpdateStageExtensions called ShowPercentage that would choose if it should show the percentage for that Stage - otherwise Update Failed (100%) sounds silly (can I get Update Failed (90%)?). Like this because code paints a thousand words.

Sorry for this really pedantic change at night but I'm like that. ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.