Skip to content

Commit

Permalink
修改桌面配置文件,适配开放麒麟系统
Browse files Browse the repository at this point in the history
  • Loading branch information
LinWin-Cloud authored Nov 4, 2022
1 parent 1dc9226 commit 581543d
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Sevice/desktop/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Main-Version: 1.0
Main-Class: alert

Binary file added Sevice/desktop/alert.class
Binary file not shown.
Binary file added Sevice/desktop/alert.jar
Binary file not shown.
9 changes: 9 additions & 0 deletions Sevice/desktop/alert.java
Original file line number Diff line number Diff line change
@@ -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);
}
}
7 changes: 7 additions & 0 deletions Sevice/desktop/desktopboot
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/bash

linwinboot

java -jar /home/kali/桌面/linwin-http-server/Sevice/desktop/alert.jar

#read -p "Boot Successfurl! [启动成功,按任意键退出控制台]:" num
7 changes: 2 additions & 5 deletions Sevice/desktop/linwinhttp.desktop
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 581543d

Please sign in to comment.