Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some error! #689

Closed
gggin opened this issue May 11, 2016 · 5 comments
Closed

some error! #689

gggin opened this issue May 11, 2016 · 5 comments

Comments

@gggin
Copy link

gggin commented May 11, 2016

and there no icon pin in desktop toolbar

2016-05-11 13:20:15> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\GGGin\AppData\Local\corn\packages.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2016-05-11 13:20:15> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\GGGin\AppData\Local\corn\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.d__2.MoveNext()

@anaisbetts
Copy link
Contributor

I think your NuGet package is malformed or doing odd things

@gggin
Copy link
Author

gggin commented May 11, 2016

I just use electron-builder and use electron-squirrel-event then nothing.
can you help me in some way?

then I use xxxStep.exe to install

@rogeru
Copy link

rogeru commented May 17, 2016

I am having the exact same issue (on Windows 8)
"electron-builder": "3.22.0",
"electron-prebuilt": "1.0.2"

After the build, the output folder is "win" instead of "win64" even though the build output is:
Removing dist\win and dist\win-unpacked
Packaging app for platform win32 x64 using electron v1.0.2

It used to work before with an older electron-builder version. I'll try to see when it was still working.

@anaisbetts
Copy link
Contributor

Electron-builder has forked basically every package, I can't really support it, sorry. Please file bugs there instead.

@rogeru
Copy link

rogeru commented May 17, 2016

Seems this was my problem as well: 402
Supposed to be fixed with 3.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants