u2a 3.0.0 → 3.0.1

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 CHANGED
@@ -87,9 +87,21 @@ This will:
87
87
  3. Remove the entry from the U2A database
88
88
 
89
89
 
90
+ ## Executables && Setups
91
+
92
+ U2A also supports the creation of executables files and setup files. We will see how to it here.
93
+
94
+ > [!NOTE]
95
+ > Windows executables and setups are confirmed working, macos and linux ones may be unstable.
96
+
97
+
90
98
  ### Creating an executable
91
99
 
92
- To directly create a windows, macos or linux executable, you can use the `--executable [windows|darwin|linux] [--arch <architecture>]` argument with the create command.
100
+ To directly create a windows, macos or linux executable, you can use the following command:
101
+
102
+ ```bash
103
+ u2a create <url> [...] --executable [windows|darwin|linux] [--arch <architecture>]
104
+ ```
93
105
 
94
106
  This will:
95
107
  1. Temporarily install the application
@@ -101,7 +113,7 @@ This will:
101
113
 
102
114
  ### Creating a setup
103
115
 
104
- You can also directly create a setup file, so people can install it on their machine. Use the `--executable [...] --setup` to do so.
116
+ You can also directly create a setup file, so people can install it on their machine. Use the `--executable [...] --setup` argument to do so.
105
117
 
106
118
  This will:
107
119
  1. Temporarily install the application
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u2a",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "URL to App - Turn any URL into a desktop application",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -55,8 +55,7 @@ async function processFavicon(iconPath) {
55
55
 
56
56
  if (baseName === 'favicon' && ext === '.ico') {
57
57
  const newPath = path.join(dir, 'favicon256.ico');
58
- fs.copyFileSync(iconPath, newPath);
59
- logger.debug("Default favicon.ico updated to favicon256.ico");
58
+ logger.debug("Default favicon.ico path updated to favicon256.ico");
60
59
  return newPath;
61
60
  } else {
62
61
  try {