Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Windows: Unable to run myprog.exe: astilectron does not unzip #20

Description

@pbm

I've inherited an old project from a developer (that no longer works with us) and need to fix a bug, but I am unable to run the (unmodified) program from any of my builds.

Symptoms (seen on both Windows 10 and Windows Server 2019):

  1. I use astilectron-bundler.exe to build myprog.exe
  2. I double click on myprog.exe: "nothing" happens

If I look in my user's ...\AppData\MyProg\vendor directory, I see astilectron-v0.48.0.zip and status.json (which is empty: {}).

If I run the last version of the program the original developer delivered, then in the ...\AppData\MyProg\vendor directory, I see

  • astilectron/
  • astilectron-v0.32.0.zip
  • electron-windows-386/
  • electron-windows-386-v4.0.1.zip
  • status.json

status.json has {"astilectron":{"version":"0.32.0"},"electron":{"windows-386":{"version":"4.0.1"}}}

It looks like something breaks trying to unzip the astilectron zip file, but I can't seem to find any error messages or system events that indicate why.

I tried pinning the astilectron version to 0.32.0 by setting version_astilectron in bundler.json, but that seems to be ignored and we get 0.48.0 instead.

Is there some way to turn on more logging or debugging output? I added logging to my part of the app, but I only see the log entries up until the time that bootstrap.Run(...) is called.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions