chore: make bash script more portable (#5679)

This commit is contained in:
Zack
2024-07-03 15:26:28 +08:00
committed by GitHub
parent e21ad18453
commit 55f06cb7a9
20 changed files with 24 additions and 24 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
VERSION=$1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -e /usr/bin/AppFlowy ]; then
echo "Symlink already exists, skipping."
else

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -e /usr/bin/AppFlowy ]; then
rm /usr/bin/AppFlowy
rm /usr/bin/AppFlowyLauncher.sh

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
LINUX_RELEASE_PRODUCTION=$1
VERSION=$2

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
gdbus call --session --dest io.appflowy.AppFlowy \
--object-path /io/appflowy/AppFlowy/Object \
--method io.appflowy.AppFlowy.Open "['$1']" {}