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

Problem of runing on local #3

Closed
Unrealluver opened this issue Feb 6, 2022 · 4 comments
Closed

Problem of runing on local #3

Unrealluver opened this issue Feb 6, 2022 · 4 comments

Comments

@Unrealluver
Copy link

Greetings! Your repo truly has a excellent UI! I love it!
But I meet a problem when I cloned it and running local.(open index.html in chrome). I got the hint that "游戏似乎未正常载入,是否禁用扩展并重新打开?" and black on the people's image as below. Need your help plz!

image

@adeFuLoDgu
Copy link
Owner

With the UI extension enabled, you cannot use index.html file to play because of the CORS (Cross-Origin Resource Sharing) policy of the browser. If you want to play locally, put the repo files in the official client directory \resources\app and use officical client executable file to play.

@Unrealluver
Copy link
Author

Thanks for your reply! Unfortunately I found that the official repo dont provide a mac app version now, could you tell me where to get that?

@adeFuLoDgu
Copy link
Owner

adeFuLoDgu commented Feb 7, 2022

Please download from v4.2.12 electron according to your system environment. The package name for mac is like electron-v4.2.12-mas. Latest version of electron may have bug (I have not test it). For package electron-v4.2.12-mas-x64.zip, put the repo files to the directory \Electron.app\Contents\Resources\app and use \Electron.app\Contents\MacOS\Electron to run.

@Unrealluver
Copy link
Author

Thank you for your instruction!!!!

adeFuLoDgu pushed a commit that referenced this issue Jun 21, 2024
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

2 participants