pake-cli 1.0.0-beta.0 โ†’ 1.0.0-beta.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.
Files changed (2) hide show
  1. package/dist/cli.js +8 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1996,7 +1996,13 @@ class MacBuilder {
1996
1996
  const { name } = options;
1997
1997
  yield mergeTauriConfig(url, options, tauriConf);
1998
1998
  yield shellExec(`cd ${npmDirectory} && npm install && npm run build:release`);
1999
- const arch = process.arch;
1999
+ let arch = "x64";
2000
+ if (process.arch === "arm64") {
2001
+ arch = "aarch64";
2002
+ }
2003
+ else {
2004
+ arch = process.arch;
2005
+ }
2000
2006
  const dmgName = `${name}_${tauriConf.package.version}_${arch}.dmg`;
2001
2007
  const appPath = this.getBuildedAppPath(npmDirectory, dmgName);
2002
2008
  const distPath = path.resolve(`${name}.dmg`);
@@ -2138,7 +2144,7 @@ class BuilderFactory {
2138
2144
  }
2139
2145
 
2140
2146
  var name = "pake-cli";
2141
- var version = "1.0.0-beta.0";
2147
+ var version = "1.0.0-beta.1";
2142
2148
  var description = "๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข App ๐Ÿคฑ๐Ÿป A simple way to make any web page a desktop application using Rust.";
2143
2149
  var bin = {
2144
2150
  pake: "./cli.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.1",
4
4
  "description": "๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข App ๐Ÿคฑ๐Ÿป A simple way to make any web page a desktop application using Rust.",
5
5
  "bin": {
6
6
  "pake": "./cli.js"