dan200 / indielauncher Goto Github PK
View Code? Open in Web Editor NEWA lightweight and unobtrusive launcher and updater for Indie Games
License: MIT License
A lightweight and unobtrusive launcher and updater for Indie Games
License: MIT License
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
Don't know if it's really a bug, but the "Downloading game" is incorrectly working.
Here's the example with Redirection : "Downloading game ({0} {1})"
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
On line 52 of Dan200.Launcher.Interface.WinForms.UpdateForm
:
this.Text = stage.GetStatus( Program.Language ) + " (" + percentage + "%)";
The trouble is that some GameUpdateStage
s (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. ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.