summarylogtreecommitdiffstats
path: root/0001-patch-startup-script.patch
blob: 4181cb608e05974035814d54fd18c0573166475c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- com.seewo.easinote5.sh	2023-08-27 15:12:06.154274415 +0800
+++ 1.sh	2023-08-27 15:11:48.217310470 +0800
@@ -1,17 +1,14 @@
+#!/usr/bin/bash
 appid="com.seewo.easinote5"
 appPath="/opt/apps/$appid"
 desktopPath="/home/`whoami`/Desktop/$appid.desktop"
 
-
 LD_LIBRARY_PATH=$appPath/files/resources/public/lib
 export LD_LIBRARY_PATH
 
-if [ ! -f "$desktopPath" ]; then
-cp $appPath/entries/applications/$appid.desktop $desktopPath
-fi
 # 启动应用时自动启动swenserver
 if ! lsof -i:3123
 then
     nohup /opt/apps/com.seewo.easinote5/files/server/swenserver &
 fi
-$appPath/files/EasiNote5 --no-sandbox "$@"
\ 文件末尾没有换行符
+$appPath/files/EasiNote5 --no-sandbox "$@"