I've tested the application, the only thing I'd say is that bugs me... is that you can't open any sub-domains within the app, Or open new windows, for example clicking daily reward, doesn't allow the pop-up window to open.Hi,
Since Flash will stop soon I've decided to release this electron application to make sure people can still play your retro until the HTML5/Unity Client is fully working. This works for Windows 7/8/10 32/64bits & MacOS.
Source:You must be registered for see links
Screens:
You must be registered for see links
You must be registered for see links
Credits:
Leet Asteroid, SD & Electron
How to install?
- Download NodeJS:
You must be registered for see links- Open Command Prompt and make sure you are in the same location as the AsteroidApp.
- Install the dependencies by execute the command: npm install
- Make sure the file package.json is set up as desired.
• productName = Hotel name
• appId = nl.hotelname.appname (also in Main.js!)- Open the configuration file config.env and put your link here like this:
URL =You must be registered for see links
SHORT_URL = habbo.com- Translate/edit the file views/home.html
- Open Command Prompt again and execute the command: npm start
- Yay congrats! Your app should be up and running. If everything is okay you can make it a .exe or a .dmg
- Open Command Prompt again and execute one of these commands:
- npm run windows - For Windows
- npm run mac - For Mac
- Yay! your app is ready for publishing! Go to the folder dist and your .exe / .dmg should be there!
You must be registered for see links
Depending on your/your players security settings you may receive a message warning you that the application is from an unknown (untrusted) publisher.
Windows instructions:You must be registered for see links
MacOS instructions:You must be registered for see links
You must purchase a Windows and / or Mac signing certificate to avoid a warning message.
You must be registered for see links
- Find in package.json:
"extraResources": [
{
"from": "./plugins/",
"to": "../plugins"
}
],- Replace with:
"files": "!src/SignHook.js",
"extraResources": [
{
"from": "./plugins/",
"to": "../plugins"
}
],
"afterSign": "src/SignHook.js",- Open src/SignHook.js and change the appleId/appleIdPassword to yours.
appleId: '[email protected]',
appleIdPassword: '123-321-ab23-m4d',- Open Command Prompt again and execute the command: npm run mac
It can take some minutes because this will notarize and create the application.
You must be registered for see links
Actually, a Windows signing certificate is not necessary as long as people 'allow the app' to run. It builds an 'app reputation' which means the warning messages will disappear in a few days / months. Since most people don't pay $ 700 + / - for a Windows signing certificate, I won't include a tutorial for this, but a cheaper solution would be to publish the application in the Windows App Store. If anyone is interested in this, you can always contact me for help.
You have to do it with a mac.Am I the only one that doesn't work on mac ?, when I give npm run mac it doesn't work.
I've tested the application, the only thing I'd say is that bugs me... is that you can't open any sub-domains within the app, Or open new windows, for example clicking daily reward, doesn't allow the pop-up window to open.
Go the location wheres AsteroidApp is stored and hold on shift + right mouse button and release, then click on Command Prompt.How do you mean?
- Open Command Prompt and make sure you are in the same location as the AsteroidApp.
Can this be developed on a seperate VPS or it has to be on the same VPS?Hi,
Since Flash will stop soon I've decided to release this electron application to make sure people can still play your retro until the HTML5/Unity Client is fully working. This works for Windows 7/8/10 32/64bits & MacOS.
Source:You must be registered for see links
Screens:
You must be registered for see links
You must be registered for see links
Credits:
Leet Asteroid, SD & Electron
How to install?
- Download NodeJS:
You must be registered for see links- Open Command Prompt and make sure you are in the same location as the AsteroidApp.
- Install the dependencies by execute the command: npm install
- Make sure the file package.json is set up as desired.
• productName = Hotel name
• appId = nl.hotelname.appname (also in Main.js!)- Open the configuration file config.env and put your link here like this:
URL =You must be registered for see links
SHORT_URL = habbo.com- Translate/edit the file views/home.html
- Open Command Prompt again and execute the command: npm start
- Yay congrats! Your app should be up and running. If everything is okay you can make it a .exe or a .dmg
- Open Command Prompt again and execute one of these commands:
- npm run windows - For Windows
- npm run mac - For Mac
- Yay! your app is ready for publishing! Go to the folder dist and your .exe / .dmg should be there!
You must be registered for see links
Depending on your/your players security settings you may receive a message warning you that the application is from an unknown (untrusted) publisher.
Windows instructions:You must be registered for see links
MacOS instructions:You must be registered for see links
You must purchase a Windows and / or Mac signing certificate to avoid a warning message.
You must be registered for see links
- Find in package.json:
"extraResources": [
{
"from": "./plugins/",
"to": "../plugins"
}
],- Replace with:
"files": "!src/SignHook.js",
"extraResources": [
{
"from": "./plugins/",
"to": "../plugins"
}
],
"afterSign": "src/SignHook.js",- Open src/SignHook.js and change the appleId/appleIdPassword to yours.
appleId: '[email protected]',
appleIdPassword: '123-321-ab23-m4d',- Open Command Prompt again and execute the command: npm run mac
It can take some minutes because this will notarize and create the application.
You must be registered for see links
Actually, a Windows signing certificate is not necessary as long as people 'allow the app' to run. It builds an 'app reputation' which means the warning messages will disappear in a few days / months. Since most people don't pay $ 700 + / - for a Windows signing certificate, I won't include a tutorial for this, but a cheaper solution would be to publish the application in the Windows App Store. If anyone is interested in this, you can always contact me for help.
What are you asking exactly?Can this be developed on a seperate VPS or it has to be on the same VPS?
Edit this file: views/home.html to remove that barIs it possible to remove the orange bar with the icons? If yes, how?
you need it to open in the same webpage not a new tab so _blank remove it or add it i forgotI need help my client dosent popup when I click Enter
I did both of them, I did my own electron browser with pepperflash works perfect nowyou need it to open in the same webpage not a new tab so _blank remove it or add it i forgot
where to add, i same problem cant open client hotellyou need it to open in the same webpage not a new tab so _blank remove it or add it i forgot
remove the _blank in the php code of the me pagewhere to add, i same problem cant open client hotell
okayy thats work! thanks, btw when i click home nothing happen... how to go home page back? thats button not workremove the _blank in the php code of the me page