u2a 3.0.1 → 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/README.md +1 -1
- package/package.json +3 -3
- package/src/commands/create.js +3 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://urltoapp.xyz" style="display: block; text-align: center;">
|
|
3
3
|
<img
|
|
4
4
|
alt="Image of this repo"
|
|
5
|
-
src="https://togp.xyz?owner=
|
|
5
|
+
src="https://togp.xyz?owner=url2app&repo=urltoapp&theme=json-dark-all&cache=false"
|
|
6
6
|
type="image/svg+xml"
|
|
7
7
|
style="border-radius: 20px; overflow: hidden;"
|
|
8
8
|
/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "u2a",
|
|
3
|
-
"version": "3.0
|
|
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": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"homepage": "https://urltoapp.xyz",
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "https://github.com/
|
|
37
|
+
"url": "https://github.com/url2app/urltoapp"
|
|
38
38
|
},
|
|
39
39
|
"bugs": {
|
|
40
|
-
"url": "https://github.com/
|
|
40
|
+
"url": "https://github.com/url2app/urltoapp/issues"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/commands/create.js
CHANGED
|
@@ -878,7 +878,9 @@ async function createApp(url, options) {
|
|
|
878
878
|
|
|
879
879
|
removeAppFromOS(appName);
|
|
880
880
|
remove(appDir);
|
|
881
|
-
|
|
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;
|