remove wails deps

This commit is contained in:
sawka 2024-06-12 11:58:17 -07:00
parent c139a33954
commit 605b9ea048
10 changed files with 2 additions and 153 deletions

View File

@ -1,32 +0,0 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleName</key>
<string>Wave Terminal</string>
<key>CFBundleExecutable</key>
<string>NextWave</string>
<key>CFBundleIdentifier</key>
<string>dev.waveterm.thenextwave</string>
<key>CFBundleVersion</key>
<string>0.1.0</string>
<key>CFBundleGetInfoString</key>
<string>Next Wave Terminal</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<key>CFBundleIconFile</key>
<string>icons.icns</string>
<key>LSMinimumSystemVersion</key>
<string>10.13.0</string>
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2024, Command Line Inc</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>
</dict>
</plist>

View File

@ -1,27 +0,0 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleName</key>
<string>NextWave</string>
<key>CFBundleExecutable</key>
<string>NextWave</string>
<key>CFBundleIdentifier</key>
<string>dev.waveterm.thenextwave</string>
<key>CFBundleVersion</key>
<string>0.1.0</string>
<key>CFBundleGetInfoString</key>
<string>Wave Terminal</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<key>CFBundleIconFile</key>
<string>icons.icns</string>
<key>LSMinimumSystemVersion</key>
<string>10.13.0</string>
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2024, Command Line Inc</string>
</dict>
</plist>

View File

@ -1,26 +0,0 @@
#!/usr/bin/env bash
# Copyright (c) 2018-Present Lea Anthony
# SPDX-License-Identifier: MIT
# Fail script on any error
set -euxo pipefail
# Define variables
APP_DIR="${APP_NAME}.AppDir"
# Create AppDir structure
mkdir -p "${APP_DIR}/usr/bin"
cp -r "${APP_BINARY}" "${APP_DIR}/usr/bin/"
cp "${ICON_PATH}" "${APP_DIR}/"
cp "${DESKTOP_FILE}" "${APP_DIR}/"
# Download linuxdeploy and make it executable
wget -q -4 -N https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
# Run linuxdeploy to bundle the application
./linuxdeploy-x86_64.AppImage --appdir "${APP_DIR}" --output appimage
# Rename the generated AppImage
mv "${APP_NAME}*.AppImage" "${APP_NAME}.AppImage"

View File

@ -1,28 +0,0 @@
config:
root_path: .
log_level: warn
debounce: 1000
ignore:
dir:
- .git
- node_modules
- frontend
- bin
file:
- .DS_Store
- .gitignore
- .gitkeep
watched_extension:
- "*.go"
git_ignore: true
executes:
- cmd: wails3 task install:frontend:deps
type: once
- cmd: wails3 task dev:frontend
type: background
- cmd: go mod tidy
type: blocking
- cmd: wails3 task build
type: blocking
- cmd: wails3 task run
type: primary

View File

@ -1,15 +0,0 @@
{
"fixed": {
"file_version": "0.1.0"
},
"info": {
"0000": {
"ProductVersion": "0.1.0",
"CompanyName": "Command Line Inc",
"FileDescription": "Wave Terminal",
"LegalCopyright": "Copyright 2024, Command Line Inc",
"ProductName": "Wave Terminal",
"Comments": "Wave Terminal Application"
}
}
}

View File

@ -3,7 +3,6 @@
// WaveObjectStore // WaveObjectStore
// import { Call as $Call, Events } from "@wailsio/runtime";
import * as jotai from "jotai"; import * as jotai from "jotai";
import * as React from "react"; import * as React from "react";
import { atoms, getBackendHostPort, globalStore } from "./global"; import { atoms, getBackendHostPort, globalStore } from "./global";

2
go.mod
View File

@ -24,5 +24,3 @@ require (
github.com/stretchr/testify v1.8.4 // indirect github.com/stretchr/testify v1.8.4 // indirect
go.uber.org/atomic v1.7.0 // indirect go.uber.org/atomic v1.7.0 // indirect
) )
replace github.com/wailsapp/wails/v3 => ../wails/v3

View File

@ -44,7 +44,6 @@
"@types/uuid": "^9.0.8", "@types/uuid": "^9.0.8",
"@vitejs/plugin-react": "^4.3.0", "@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-istanbul": "^1.6.0", "@vitest/coverage-istanbul": "^1.6.0",
"@wailsio/runtime": "^3.0.0-alpha.24",
"babel-loader": "^9.1.3", "babel-loader": "^9.1.3",
"babel-plugin-jsx-control-statements": "^4.1.2", "babel-plugin-jsx-control-statements": "^4.1.2",
"copy-webpack-plugin": "^12.0.2", "copy-webpack-plugin": "^12.0.2",

View File

@ -4,7 +4,7 @@
<base href="../" /> <base href="../" />
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wails App</title> <title>NextWave</title>
<link rel="stylesheet" href="public/fontawesome/css/fontawesome.min.css" /> <link rel="stylesheet" href="public/fontawesome/css/fontawesome.min.css" />
<link rel="stylesheet" href="public/fontawesome/css/brands.min.css" /> <link rel="stylesheet" href="public/fontawesome/css/brands.min.css" />
<link rel="stylesheet" href="public/fontawesome/css/solid.min.css" /> <link rel="stylesheet" href="public/fontawesome/css/solid.min.css" />

View File

@ -5629,15 +5629,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@wailsio/runtime@npm:^3.0.0-alpha.24":
version: 3.0.0-alpha.24
resolution: "@wailsio/runtime@npm:3.0.0-alpha.24"
dependencies:
nanoid: "npm:^5.0.7"
checksum: 10c0/e43a5dd176d918ff3742cb1ef1bdd7f54eadf392ba02042bb7e9cc0c5482b54c9415ca427887687cff24cf3cdcae7a180df350d2d6883976178e0e101f7e60be
languageName: node
linkType: hard
"@webassemblyjs/ast@npm:1.12.1, @webassemblyjs/ast@npm:^1.12.1": "@webassemblyjs/ast@npm:1.12.1, @webassemblyjs/ast@npm:^1.12.1":
version: 1.12.1 version: 1.12.1
resolution: "@webassemblyjs/ast@npm:1.12.1" resolution: "@webassemblyjs/ast@npm:1.12.1"
@ -11417,15 +11408,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"nanoid@npm:^5.0.7":
version: 5.0.7
resolution: "nanoid@npm:5.0.7"
bin:
nanoid: bin/nanoid.js
checksum: 10c0/a3fb1c157e3e35378f44e5a7130c70f80c9037f66c9a37285e5e3d8298e8405fcb2399baaa420980b0fe5fd9c2e4186a6a31c3526f21de03cf34c1b459871401
languageName: node
linkType: hard
"natural-compare@npm:^1.4.0": "natural-compare@npm:^1.4.0":
version: 1.4.0 version: 1.4.0
resolution: "natural-compare@npm:1.4.0" resolution: "natural-compare@npm:1.4.0"
@ -13905,7 +13887,6 @@ __metadata:
"@types/uuid": "npm:^9.0.8" "@types/uuid": "npm:^9.0.8"
"@vitejs/plugin-react": "npm:^4.3.0" "@vitejs/plugin-react": "npm:^4.3.0"
"@vitest/coverage-istanbul": "npm:^1.6.0" "@vitest/coverage-istanbul": "npm:^1.6.0"
"@wailsio/runtime": "npm:^3.0.0-alpha.24"
"@xterm/addon-fit": "npm:^0.10.0" "@xterm/addon-fit": "npm:^0.10.0"
"@xterm/xterm": "npm:^5.5.0" "@xterm/xterm": "npm:^5.5.0"
babel-loader: "npm:^9.1.3" babel-loader: "npm:^9.1.3"