nwutils / nwutils/Web2Executable

Export MAC_x64 doesn't work anymore.

Open
#257 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
974
Forks
125
Avg merge
4d 23h
Merged PRs (30d)
1

Description

Current Behavior

Export with Mac doens't work.
I tried the a never version of NWJS: 0.86.0

Expected Behavior

You should get a working programm for Mac.

Steps to Reproduce

Just try any html.

Environment

Web2Executable: v0.7.2b
Nodejs: v21.1.0
Windows Version 11 Home 23H2:

Possible Solution

Additional Information

I assume this has something to do with the folder structure in AppData/Local.
I'm afraid this was not the case with older NWJS versions:
Screenshot 2024-06-08 115516

Screenshot 2024-06-08 115603

In the error.log i get these infos:
PermissionError: [WinError 5] Zugriff verweigert: '\\?\C:\Users\Matth\AppData\Local\Web2Executable\Web2Executable\files\mac-x64\nwjs.app\Contents\Frameworks\nwjs Framework.framework\Versions\123.0.6312.87\Resources\gpu_shader_cache.bin'

I mean the erro message is clear.
But how to avoid it?
@jyapayne

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a Mac x64 export with the listed Web2Executable, Node.js, and NWJS versions, then inspect error.log and the reported AppData/Local path. Trace the handling of nwjs.app and gpu_shader_cache.bin; done means a sample HTML project exports into a working Mac application without the permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.