diff --git a/Sevice/desktop/MANIFEST.MF b/Sevice/desktop/MANIFEST.MF new file mode 100644 index 0000000..28cdab5 --- /dev/null +++ b/Sevice/desktop/MANIFEST.MF @@ -0,0 +1,3 @@ +Main-Version: 1.0 +Main-Class: alert + diff --git a/Sevice/desktop/alert.class b/Sevice/desktop/alert.class new file mode 100644 index 0000000..4a94dfa Binary files /dev/null and b/Sevice/desktop/alert.class differ diff --git a/Sevice/desktop/alert.jar b/Sevice/desktop/alert.jar new file mode 100644 index 0000000..9bd5c7e Binary files /dev/null and b/Sevice/desktop/alert.jar differ diff --git a/Sevice/desktop/alert.java b/Sevice/desktop/alert.java new file mode 100644 index 0000000..e97c643 --- /dev/null +++ b/Sevice/desktop/alert.java @@ -0,0 +1,9 @@ +import javax.swing.*; + +public class alert +{ + public static void main(String[]args) + { + JOptionPane.showMessageDialog(null, "Boot Successful [HTTP服务启动成功,在终端内输入: linwinhttp 查看选项]", "成功启动", JOptionPane.WARNING_MESSAGE); + } +} diff --git a/Sevice/desktop/desktopboot b/Sevice/desktop/desktopboot new file mode 100644 index 0000000..73f7274 --- /dev/null +++ b/Sevice/desktop/desktopboot @@ -0,0 +1,7 @@ +#! /bin/bash + +linwinboot + +java -jar /home/kali/桌面/linwin-http-server/Sevice/desktop/alert.jar + +#read -p "Boot Successfurl! [启动成功,按任意键退出控制台]:" num diff --git a/Sevice/desktop/linwinhttp.desktop b/Sevice/desktop/linwinhttp.desktop index 8a9e49e..f279e09 100644 --- a/Sevice/desktop/linwinhttp.desktop +++ b/Sevice/desktop/linwinhttp.desktop @@ -1,13 +1,10 @@ [Desktop Entry] -X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher -X-Deepin-AppID=com.qq.music Categories=Utility; -Comment=qqmusic application for linux -Exec=/usr/LinWinHttp/start_linwinhttp %U +Comment=LinWin Http Server For Linux +Exec=/home/kali/桌面/linwin-http-server/Sevice/desktop/desktopboot %U Icon=/usr/LinWinHttp/out/production/LinWinHttpServer/img/logo.png Name=LinWin Http Server GenericName=LinWin Http Server Name[zh_CN]=LinWin Http Server Terminal=false Type=Application -X-Deepin-Vendor=user-custom