We have been using electron since a year, earlier with older electron versions, when I try to build our application, SHASUMS256.txt was being downloaded into local path %appdata% .
Now I am upgrading electron to 17.3.1 , but I don't see SHASUMS256.txt in the local path %appdata%.
Could you clarify me why it's not downloaded, Am I missing something ?
Related
i used to upload my ZIP (with HTML5/CSS web app) in phonegap since 4, 5 years and create cool mobile apps. But since some months it's look like Adobe dismiss the project, no more answer on forum etc.
Is there a good solution, when you don't know everything about shift/cocoa/java and server things, to simply upload your webapp (basically a website in a zip) and get IPA/APK ?
I heard about monaco or voltbuilder. Thanks
Not really. Although I can confirm https://build.phonegap.com works for me. If you have an error related to a malformed xml, you can try to delete the project on the website and re-uplading the zip file onto a new project. That's a bug I have experienced in the past.
Otherwise, you can install Cordova and Phonegap on your pc to build it using npm on the terminal (Linux/MacOs).
$ sudo npm install -g cordova
or for windows (CMD):
C:\> npm install -g cordova
then navigate with the command line using cd to go to a folder
eg. cd myfolder.
You can see the files in your current directory with ls (Linux/MacOs) or lsdir (windows)
Once you are in your project's folder and that you can see with lsdir or ls your config.xml file of your project, then you can run those commands to add the platform you want to build:
cordova platform add ios
cordova platform add android
Finally to build the app, you need to:
cordova build
Note: To build an Ipa, you will need to use a device running MacOs since it requires XCode. I highly recommand you to get familiar with Cmd or the terminal if you are building an app.
I hope I have answered your question well
I have an Electron+Angular application.
When I build the Angular app, it goes to dist folder, ok. And when I use electron-packager and electron-builder, it put the files inside dist too.
For the first version it's ok. The problem is when I'm building a second version. It packs the old version files that is inside dist folder. And the result is a large .exe file.
These is the commands I'm using to pack and publish my app:
electron-packager . --overwrite --asar=true --platform=win32 --ignore=ˆ/tmp
electron-builder --publish always
How can I prevent the old version files to be packed in new versions? Should I remove them every time I build a new version?
I finally solved my problem
I'm new with Electron, so I though that run electron-packager was necessary before publish new versions.
You only need to run:
electron-builder --publish always
electron-packager packs everything inside dist folder and creates a new folder outside dist.
electron-builder create necessary files to publish but ignores the old version files that was created for it. But if you have that new folder created by electron-packager it'll be published too and your .exe will be very large.
I am trying to compile a .tex document into a pdf in TexStudio (and I have also tried in MikTex) and the following error is outputted File l3backend-pdfmode.def not found. I have tried downloading 13backend package but no luck. Do I need to place the package in a specific folder?
I had the same problem, turned out my miktex library was out-of-date
I opened "miktex console" and updated it.
I incurred into the same issue slightly after an upgrade from Debian 10 to Debian 11. For me, removing all the .texlive* directories from my home folder solved it
mv ~/.texlive* /tmp # If you want to restore them later
rm -r ~/.texlive* # If you are sure about deleting
The ~/.texlive2020 directory was rebuilt after running pdflatex.
I am trying to package my electron app . Follwing the instruction Here. I added an object to my package.json like below
"osx-package": "node_modules/electron-packager/cli.js
./build/bin --platform=darwin --arch=x64 --version=0.34.0 --overwrite"
When i run
npm run osx-package
I received the messgage below
Packaging app for platform darwin x64 using electron v0.34.0 Wrote new
app to /...../binary-build-darwin-x64
Below is what i can see from by sublime text.
However, when i visit the folder, i can only see three files . Myapp(i.e execuatble ) , licence file and version file. I unhidden hidden files , still couldnt see my files as expected. However, the files were still shown in the directory in sublime . Clicking my app throws an error saying can't find an electron framework etc. Please what am i misssing ? How do i fix this ?
Did your try running it via the console with npm start?
After packaging the OSX app, the following files should be created:
LICENSE
LICENSES.chromium.html
MYAPP.app
version
I'm new in Sencha . but after installation.. it's really becoming a headache..
I dont' know how to resolve this issue..
I downloaded -
sencha-touch-2.1.0-commercial - (its SDK i think)
SenchaSDKTools-2.0.0-beta3-windows (These are Tools for SDK)
Xampp (for Web services)
I installed xampp.
extracted sencha touch into htdocs folder under xampp.
installed senchSDKTools
And started applying commands from CMD
i typed sencha and pressed enter...
but i get following error.
-
C:\xampp\htdocs\sencha-touch-2.1.0-commercial>sencha
[WARN] The current working directory (C:\xampp\htdocs\sencha-touch-2.1.0-commercia
l) is not a recognized Sencha SDK or application folder. Running in backwards comp
atible mode.
Sencha Command v2.0.0 Beta 3
Copyright (c) 2012 Sencha Inc.
usage: sencha COMMAND [ARGS]
The available commands are:
build build a JSB project
create bootstrapdata generate boostrap data
create jsb generate a minimal JSB project for an app
create locale generate a template locale file from sourc
e
create manifest generate classes manifest
package package your Touch web app into a native bundle
slice theme slice a custom theme's images for IE
See 'sencha help COMMAND' for more information on a specific command.
C:\xampp\htdocs\sencha-touch-2.1.0-commercial>
-I've searched several website.. but couldn't get the solution..
Please help me.. thank you
Problem: Sencha SDK could not be recognized through cmd
Error:
[warn] the current working directory (c:\xampp\htdocs\sencha-touch-2.1.0-commercial) is not a recognized sencha sdk or application folder. running in backwards compatible mode.
Issue: The problem arises because of outdated cmd that Sencha use for creating, updating, packaging apps. Check the above command when entering sencha and it showing currently installed cmd version is:
sencha command v2.0.0 beta 3
Solution : Sencha command has been updated to v3.0.0 with more features like "generating" commands which was not supported in v2.0.0. Just download it from below link and install it (in the bin folder of SDK tools, not touch SDK). That's it. Now go to the Sencha touch folder and again through it run sencha. What will you get now is:
sencha cmd v3.0.0.250
You can also fire this command
$ sencha generate app gs ../gs
And it work too!
Note: Sencha didn't say that you needed to update Sencha cmd, but updated their documentation. Numerous people are facing this Sencha problem with no luck. Hope people get rid of it which took a complete night from me :)
I faced same Error on Windows. So I uninstall Current SDK Tool version 2.0 and install new sdk tool ( version 3.0 ) . It is working fine.
download link for new version.
http://www.sencha.com/products/sencha-cmd/download
Follow just following steps:-
Download latest Sencha SDK
http://www.sencha.com/products/touch/download/
Download latest Sencha Command line
http://www.sencha.com/products/sencha-cmd/download
Install Sencha Command line default location in Windows is
C:\Users\XXX\bin
After CMD Installation go to SDK folder install/extract in Step 1
Run following command (I am running this command using GIT Bash
on windows)
/c/Users/SMAK/bin/Sencha/Cmd/3.0.0.250/sencha generate app MyApp ../MyApp
Note:-
We need both Sencha SDK and CMD and you have to run Command from SDK Folder
I had the same problem with Sencha Cmd. I solved this problem by uninstalling the "SenchaSDKTools".
As for me it works fine now.
I got the same message.
My web server is IIS.
sdk tool : SenchaSDKTools-2.0.0-beta3
follow the office url
http://dev.sencha.com/deploy/sencha-touch-2.0.1/docs/#!/guide/command
I solved this problem by executing the cmd as Administrator..
It works for me
export PATH=~/bin/Sencha/Cmd/ << your sencha cmd version >> :$PATH
This may solve your problem. Sencha sometimes does not find new Sencha cmd path if it is created on other platforms or if the Sencha folder is created without the use of generate command.
I had the same problem. Downloaded the latest Sencha SDK and the latest SDK Tools on Windows, got this warning message.
The problem here was that the file .senchasdk was missing.
Simple solution: create an empty file called .senchasdk
Afterwards everything worked fine.