u2a 3.0.2 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u2a",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "URL to App - Turn any URL into a desktop application",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -878,7 +878,9 @@ async function createApp(url, options) {
878
878
 
879
879
  removeAppFromOS(appName);
880
880
  remove(appDir);
881
- remove(iconPath);
881
+ if (path.basename(iconPath) !== "favicon") {
882
+ remove(iconPath);
883
+ }
882
884
 
883
885
  logger.debug(`Temporary application files removed after executable creation`);
884
886
  return;