mirror of
https://github.com/TheCase/IPMIView.app.git
synced 2025-12-11 17:49:43 +01:00
Add application icon
Signed-off-by: Vitaliy Dmitriev <vi7alya@gmail.com>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
||||
Resources/*
|
||||
Contents/Resources/IPMIView
|
||||
|
||||
8
Contents/Info.plist
Normal file
8
Contents/Info.plist
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>ipmiview.icns</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd ${DIR}/../../Resources/IPMIView
|
||||
cd ${DIR}/../Resources/IPMIView
|
||||
java -jar IPMIView20.jar
|
||||
|
||||
BIN
Contents/Resources/ipmiview.icns
Normal file
BIN
Contents/Resources/ipmiview.icns
Normal file
Binary file not shown.
@@ -5,7 +5,7 @@ Download the latest IPMIView software from SuperMicro (to your home directories
|
||||
[https://ftp.supermicro.com/wftp/utility/IPMIView/Linux/](https://ftp.supermicro.com/wftp/utility/IPMIView/Linux/)
|
||||
|
||||
Download the code and execute the script to unarchive the linux package and create the Application Bundle:
|
||||
```
|
||||
```bash
|
||||
cd ~
|
||||
git clone https://github.com/TheCase/IPMIView.app
|
||||
cd IPMIView.app
|
||||
@@ -41,8 +41,8 @@ When you attempt to launch the console, you may be presented with a message that
|
||||
|
||||
If you have Java issues loading the app, please verify that you can run the app from the command line (and outside the jursdiction of this supplied wrapper).
|
||||
|
||||
```
|
||||
cd ~/Applications/IPMIView.app/Resources/IPMIView/
|
||||
```bash
|
||||
cd ~/Applications/IPMIView.app/Contents/Resources/IPMIView/
|
||||
java -jar IPMIView20.jar
|
||||
```
|
||||
|
||||
|
||||
11
script.sh
11
script.sh
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -
|
||||
mkdir -p Resources/IPMIView/Contents/Home/bin
|
||||
tar -zxvf ~/Downloads/IPMIView*.tar.gz --strip=1 -C ./Resources/IPMIView/.
|
||||
cd Resources/IPMIView/Contents/Home/bin
|
||||
ln -s /usr/bin/java
|
||||
cd ../../../../../..
|
||||
rsync -arv --exclude=.git --exclude=Resources/IPMIView/jre IPMIView.app ~/Applications
|
||||
mkdir -p Contents/Resources/IPMIView/Contents/Home/bin
|
||||
tar -zxvf ~/Downloads/IPMIView*.tar.gz --strip=1 -C ./Contents/Resources/IPMIView/.
|
||||
ln -s /usr/bin/java Contents/Resources/IPMIView/Contents/Home/bin/java
|
||||
cd ..
|
||||
rsync -arv --exclude=.git --exclude=Contents/Resources/IPMIView/jre IPMIView.app ~/Applications
|
||||
|
||||
Reference in New Issue
Block a user