Skip to content

Commit

Permalink
Add i-nex-library.desktop and option args --library
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jul 28, 2014
1 parent c792138 commit 71d5cc9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions I-Nex/i-nex/.src/MStart.module
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Public Sub Main()
"\n Usage: env VARIABLE=\"STRING\" " & Application.name & ".gambas [Options]"
"\n Options:"
"\n --help (Chow Help)"
"\n --library (Chow library)"
"\n"
"\n Env Variables:"
"\n"
Expand All @@ -41,6 +42,9 @@ Public Sub Main()
Case "--about"
About.Show
PrintErr = False
Case "--library"
FSystemInfo.Show
PrintErr = False
Case "--cpuinfo"
CPUINFO_FILE = Application.Args[2]
Finfosys.Show
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ install-pastebinit-and-other:
mkdir -p $(DESTDIR)$(PREFIX)/share/i-nex/pastebinit/pastebin.d
@echo -e '\033[1;32mInstall pastebinit and other...\033[0m'
$(INSTALL) 0755 debian/i-nex.desktop $(DESTDIR)$(PREFIX)/share/applications/
$(INSTALL) 0755 debian/i-nex-library.desktop $(DESTDIR)$(PREFIX)/share/applications/
$(INSTALL) 0755 pastebinit $(DESTDIR)$(PREFIX)/share/i-nex/pastebinit/
$(INSTALL) 0755 pastebinit.xml $(DESTDIR)$(PREFIX)/share/i-nex/pastebinit/
$(INSTALL) 0755 release.conf $(DESTDIR)$(PREFIX)/share/i-nex/pastebinit/
Expand Down
13 changes: 13 additions & 0 deletions debian/i-nex-library.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

[Desktop Entry]
Name=I-Nex Library
Comment=I-Nex System Library Information.
GenericName=I-Nex System Library Information.
Exec=/usr/bin/i-nex.gambas --library
Icon=/usr/share/pixmaps/i-nex-128.png
Terminal=false
StartupNotify=true
Type=Application
Categories=System;
Version=1.0
Encoding=UTF-8

0 comments on commit 71d5cc9

Please sign in to comment.