@flowscripter/example-host-application 1.2.0 → 1.2.2

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/bun.lock CHANGED
@@ -5,8 +5,8 @@
5
5
  "": {
6
6
  "name": "@flowscripter/example-host-application",
7
7
  "dependencies": {
8
- "@flowscripter/dynamic-plugin-framework": "^1.4.0",
9
- "@flowscripter/example-plugin-api": "^1.1.0",
8
+ "@flowscripter/dynamic-plugin-framework": "^1.5.1",
9
+ "@flowscripter/example-plugin-api": "^1.2.1",
10
10
  },
11
11
  "devDependencies": {
12
12
  "@types/bun": "^1.3.14",
@@ -19,9 +19,9 @@
19
19
  },
20
20
  },
21
21
  "packages": {
22
- "@flowscripter/dynamic-plugin-framework": ["@flowscripter/dynamic-plugin-framework@1.4.0", "", { "peerDependencies": { "typescript": "^6.0.3" } }, "sha512-/FKU8dDiVSDODYgo7Cwp7w4aa+n4Fn0+LIqWg0WyU0q3Kxqn5Rss1MNmPprEcGuakMSnjX02xYw2GDL+yk7QHw=="],
22
+ "@flowscripter/dynamic-plugin-framework": ["@flowscripter/dynamic-plugin-framework@1.5.1", "", { "peerDependencies": { "typescript": "^6.0.3" } }, "sha512-tTEmr+gEs6/Qei9qqIbYN9l/rIKPJWEGgkNxEvrGERo3wdtrQzMb35IAkgslV7jQbhaVXlMU4A/1Ww1nB63I+Q=="],
23
23
 
24
- "@flowscripter/example-plugin-api": ["@flowscripter/example-plugin-api@1.1.0", "", { "peerDependencies": { "typescript": "^6.0.3" } }, "sha512-GGpBFBC91VlA/ODZlBnroceM1zVSOX6oUIRWh67+iR6s7FACeqcq3zAs3tSR0t7zWW/mPds7NlKtzAKNn2ZeBw=="],
24
+ "@flowscripter/example-plugin-api": ["@flowscripter/example-plugin-api@1.2.1", "", { "peerDependencies": { "typescript": "^6.0.3" } }, "sha512-JT0a0KsK3yT/16b1OK2GBHw5d8jWD5sCm1gei+r3fLpmuIRVfs8/ZdQtgROi1MIVokxebZuMX244Xt1mBX7BrA=="],
25
25
 
26
26
  "@oxfmt/binding-android-arm-eabi": ["@oxfmt/binding-android-arm-eabi@0.54.0", "", { "os": "android", "cpu": "arm" }, "sha512-NAtpl/SiaeU103e7/OmZw0MvUnsUUopW7hEm/ecegJg7YM0skQaA0IXEZoyTV6NUdiNPupdIUreRqUZTShbn/g=="],
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowscripter/example-host-application",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Example host application for the https://github.com/flowscripter/dynamic-plugin-framework",
5
5
  "keywords": [
6
6
  "bun",
@@ -24,8 +24,8 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@flowscripter/dynamic-plugin-framework": "^1.4.0",
28
- "@flowscripter/example-plugin-api": "^1.1.0"
27
+ "@flowscripter/dynamic-plugin-framework": "^1.5.1",
28
+ "@flowscripter/example-plugin-api": "^1.2.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/bun": "^1.3.14",
package/script/install.sh CHANGED
@@ -1,25 +1,34 @@
1
1
  #!/bin/sh
2
2
 
3
- set -e # Exit on error
3
+ set -e
4
4
 
5
- # Define the download URL
6
- URL="https://github.com/flowscripter/example-host-application/releases/latest/download/example-host-application_Linux_x86_64.zip"
5
+ ARCH=$(uname -m)
6
+ case "$ARCH" in
7
+ x86_64)
8
+ ARCH_SUFFIX="x64"
9
+ ;;
10
+ aarch64|arm64)
11
+ ARCH_SUFFIX="arm64"
12
+ ;;
13
+ *)
14
+ echo "Unsupported architecture: $ARCH"
15
+ exit 1
16
+ ;;
17
+ esac
18
+
19
+ URL="https://github.com/flowscripter/example-host-application/releases/latest/download/example-host-application_Linux_${ARCH_SUFFIX}.zip"
7
20
 
8
- # Create a temporary directory
9
21
  TMP_DIR=$(mktemp -d)
10
22
  cd "$TMP_DIR"
11
23
 
12
- # Download and extract
13
24
  echo "Downloading example-host-application..."
14
25
  curl -fsSL "$URL" -o executable.zip
15
26
  unzip executable.zip
16
27
 
17
- # Install
18
28
  chmod +x example-host-application
19
29
  sudo mv example-host-application /usr/local/bin/
20
30
 
21
- # Clean up
22
31
  cd -
23
32
  rm -rf "$TMP_DIR"
24
33
 
25
- echo "Installation complete! Run 'example-host-application' to get started."
34
+ echo "Installation complete! Run 'example-host-application' to get started."