pake-cli 2.2.5 โ 2.2.6
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/dist/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -20,7 +20,7 @@ import isUrl from 'is-url';
|
|
|
20
20
|
import fs from 'fs';
|
|
21
21
|
|
|
22
22
|
var name = "pake-cli";
|
|
23
|
-
var version = "2.2.
|
|
23
|
+
var version = "2.2.6";
|
|
24
24
|
var description = "๐คฑ๐ป Turn any webpage into a desktop app with Rust. ๐คฑ๐ป ๅพ็ฎๅ็็จ Rust ๆๅ
็ฝ้กต็ๆๅพๅฐ็ๆก้ข Appใ";
|
|
25
25
|
var engines = {
|
|
26
26
|
node: ">=16.0.0"
|
|
@@ -825,8 +825,8 @@ async function downloadIcon(iconUrl) {
|
|
|
825
825
|
let iconPath = `${tempPath}/icon.${fileDetails.ext}`;
|
|
826
826
|
// Fix this for linux
|
|
827
827
|
if (IS_LINUX) {
|
|
828
|
-
iconPath = '
|
|
829
|
-
await fsExtra.outputFile(`${npmDirectory}
|
|
828
|
+
iconPath = 'icon.png';
|
|
829
|
+
await fsExtra.outputFile(`${npmDirectory}/${iconPath}`, iconData);
|
|
830
830
|
}
|
|
831
831
|
else {
|
|
832
832
|
await fsExtra.outputFile(iconPath, iconData);
|
package/package.json
CHANGED