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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -3
  2. 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.5";
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 = 'png/linux_temp.png';
829
- await fsExtra.outputFile(`${npmDirectory}/src-tauri/${iconPath}`, iconData);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"