索引:
參看程式碼 GitHub:
一、Linux (DeepinOS) 環境
1.官網下載
1 ideaIU-2018.1.2.tar.gz
2.解壓
1 tar -zxvf ideaIU-2018.1.2.tar.gz -C ~/dev/Idea
3.設定執行許可權
1 cd ~/dev/Idea/idea-IU-181.4668.68/bin 2 sudo chmod a=+rx ./idea.sh
4.安裝
1 執行此 shell 前,可對 IDEA 進行 xxxx ,具體方法自行在網上搜尋檢視 2 sudo ./idea.sh
5.手動建立桌面快捷圖示
1 1.建立一個 idea.desktop 檔案: 2 [Desktop Entry] 3 Name=IdeaIU 4 Comment=IdeaIU 5 Exec=env JAVA_HOME=/home/liumeng/dev/Java/jdk1.8.0_171 /home/liumeng/dev/Idea/idea-IU-181.4668.68/bin/idea.sh 6 Icon=/home/liumeng/dev/Idea/idea-IU-181.4668.68/bin/idea.png 7 Terminal=false 8 Type=Application 9 Categories=Application; 10 X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher 11 X-Deepin-AppID=idea 12 2.將檔案放到 /usr/share/applications 中: 13 sudo cp ~/dev/Idea/idea-IU-181.4668.68/bin/idea.desktop /usr/share/applications
蒙
2018-05-19 20:50 週六