Electron Forge doesn't package EXE with my custom ICO - electron-packager

I'm trying to compile my application to EXE with a custom icon using forge.
This is my force.config.js
module.exports = {
packagerConfig: {
icon: './ico'
}
};
ico.ico file is located in the main app folder. The ico is a 256x256px image.
The package command is:
electron-forge package --platform=win32 --arch=x64
But the generated electron EXE still has the default electron icon.
What I'm missing?

It was windows Icon cache!
ie4uinit.exe -show
and restart explorer.exe

Related

How to install puppeteer without using npm?

I was trying to install puppeteer using npm -i puppeteer. But i'm geeting error as i dont have admin rights.
Is there any way to download the package folder and paste it into my project folder?
I downloaded the files from puppeteer GitHub page, but I'm getting errors and there are many folders.
What should be the path?
These doesn't seem to work.
const puppeteer = require('./puppeteer');
const puppeteer = require('./puppeteer/packages/puppeteer');
Image: Files downloaded from github(these files are under the folder named puppeteer)

gdx-setup.jar is not an executable jar file .

My gdx-setup.jar file is downloaded but it is not an executable jar file , so it doesn't show the project generator interface on double clicking. How to fix this?

Can't import .ane file into Flash CC

I've been trying for days now to import an .ane file into a Flash CC project in order to use admob banners with it.
I've searched everywhere and I just can't make it work.
Here's what I'm doing exatcly:
I downloaded the .zip file from this github: https://github.com/lilili87222/Admob-ANE
Inside the .zip file, I got the "admob_all_in_one_6.12.2.ane" file only and put it into a "lib" folder, together with my project .fla.
Then, inside Flash CC I open the "Advanced ActionScript 3.0 Settings" window, navigate to the "Library Path" tab and click the "Browse to Native Extention (ANE) File" button.
I select my .ane file inside the lib folder and click ok. I try to compile the project, and I get this error:
"The content cannot be loaded because there was a problem loading an extension: Error: Extension namespace is invalid"
Any ideas?
Thank you
I got the same problem, but after I have updated the Air SDK, it works very well...
Follow this step to update Air SDK.
"namespace is invalid", check the AppName-app.xml
<application xmlns="http://ns.adobe.com/air/application/15.0">
Change your Adobe AIR SDK for a newer

How to Deploy html project using gradle in libgdx

I have successfully run my html project using following command
gradlew html:superDev
And after that I run "gradlew html:dist" command .
This compiled my app to Javascript and place the resulting Javascript, HTML and asset files in the html/build/dist/ folder.
Now my question is how to use this "dist" folder to run my project on server.
I tried to upload this "dist" folder on my server and then runs it's index.html file but only superDev Refresh button appears.
Please tell me what are the steps to follow after creating the dist folder ?
Which files and folder should I upload on server ?
Hi I solved it by taking following steps:-
In eclipse I right click on html project and compile it using GWT compile.
2 then run the html project as web application.
3 After successfully launching of the game I copy all the folders excepts WebInf from the war folder and place them in a new folder then upload it on server.
That's it.
But through Gradle I did not get any success.

how to dynamic linking for the .ane files

I created a native extension. I can debug this application as an desktop application. Working well, there is no problem while using native extension classes. But When I debug for Premiere Pro, I get "
Class com.extenison.samples.ANESample::myClass could not found
" error.
Do you have any idea what I'm missing while debugging for Premiere Pro extension ?
- I added .ane file on Native Extensions tab of Properties
- Also added .swc file on Library Path tab
- checked Package in Flex Build Packaging tab
- I can see .ane file on Package Contents section of Flex Build Packaging
Thanks
Edit : this issue is about linking native extensions. Any helps appreciated about this
If we are creating .ane files for application that runs on some devices, that means we are gonna package our project and device will read files from package.
My native extension (.ane) file was working on local, as desktop application because there was no packaging process.
was not working on Adobe Premiere because ;
put .ane file under yourproject/src/ directory to some folder
go to project/properties/Flex Build Packaging and checked your .ane file
on same directory above,Click Package Contents tab and ensure that your .ane file is in the list
I didn't do this:) But you do this.
You can ignore this error and move on with creating an .ipa with you adt commands. The error is because of cross platform.
Though check with the points, You make the .swc as external reference from the properties.