mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
Merge remote-tracking branch 'origin/main' into develop
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cp -R ./public/* ${1:-"dist"}
|
||||
|
||||
cp ./src/lib/rlottie/rlottie-wasm.wasm ${1:-"dist"}
|
||||
|
||||
cp ./node_modules/opus-recorder/dist/decoderWorker.min.wasm ${1:-"dist"}
|
||||
|
||||
cp -R ./node_modules/emoji-data-ios/img-apple-64 ${1:-"dist"}
|
||||
cp -R ./node_modules/emoji-data-ios/img-apple-160 ${1:-"dist"}
|
||||
@@ -0,0 +1,31 @@
|
||||
/* eslint-disable no-null/no-null */
|
||||
export default function prepareTauriConfig() {
|
||||
const config = {
|
||||
build: {
|
||||
frontendDist: process.env.BASE_URL,
|
||||
devUrl: null,
|
||||
},
|
||||
bundle: {
|
||||
windows: {},
|
||||
},
|
||||
identifier: 'org.telegram.TelegramAir',
|
||||
};
|
||||
|
||||
if (process.env.WITH_UPDATER === 'true') {
|
||||
config.plugins = {
|
||||
updater: {
|
||||
dialog: false,
|
||||
endpoints: [process.env.UPDATER_GIST_URL],
|
||||
pubkey: process.env.UPDATER_PUBLIC_KEY,
|
||||
},
|
||||
};
|
||||
|
||||
config.bundle.createUpdaterArtifacts = true;
|
||||
}
|
||||
|
||||
if (process.env.KEYPAIR_ALIAS) {
|
||||
config.bundle.windows.signCommand = `smctl.exe sign --keypair-alias=${process.env.KEYPAIR_ALIAS} --input %1`;
|
||||
}
|
||||
|
||||
return config;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
create-dmg \
|
||||
--volname "Telegram Air installer" \
|
||||
--volicon "./tauri/icons/icon.icns" \
|
||||
--background "./tauri/images/background-dmg.tiff" \
|
||||
--window-size 540 380 \
|
||||
--icon-size 100 \
|
||||
--icon "Telegram Air.app" 138 225 \
|
||||
--hide-extension "Telegram Air.app" \
|
||||
--app-drop-link 402 225 \
|
||||
--no-internet-enable \
|
||||
"$1" \
|
||||
"$2"
|
||||
Reference in New Issue
Block a user