mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
d405352823
* testing universal build * arch files not required anymore * use CGO_ENABLED for wavesrv. write out notes about the universal build problems/solution * script and updates for universal build * more updates for sign/notarize flow for universal app * put in prod migration check * build prompt to wave migration into emain. updates to macos build scripts * update some packages * successful universal build * remove unused code
18 lines
451 B
Bash
18 lines
451 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -d ~/prompt ]; then
|
|
echo "~/prompt directory does not exist, will not migrate"
|
|
exit 1;
|
|
fi
|
|
if [ -d ~/.waveterm ]; then
|
|
echo "~/.wave directory already exists, will not migrate"
|
|
exit 1;
|
|
fi
|
|
mv ~/prompt ~/.waveterm
|
|
mv ~/.waveterm/prompt.db ~/.waveterm/waveterm.db
|
|
mv ~/.waveterm/prompt.db-wal ~/.waveterm/waveterm.db-wal
|
|
mv ~/.waveterm/prompt.db-shm ~/.waveterm/waveterm.db-shm
|
|
mv prompt.authkey waveterm.authkey
|
|
|
|
|