mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 07:58:51 +01:00
readme
This commit is contained in:
parent
a489b97307
commit
776eaa1378
@ -97,7 +97,7 @@ type AboutPage struct {
|
|||||||
func NewAboutPage() *AboutPage {
|
func NewAboutPage() *AboutPage {
|
||||||
p := &AboutPage{}
|
p := &AboutPage{}
|
||||||
|
|
||||||
p.FootMsg = [5]string{"Nav.","","","Back",""}
|
p.FootMsg = [5]string{"Nav","","","Back",""}
|
||||||
|
|
||||||
p.AList = make(map[string]map[string]string)
|
p.AList = make(map[string]map[string]string)
|
||||||
|
|
||||||
@ -116,9 +116,6 @@ func NewAboutPage() *AboutPage {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func (self *AboutPage) Uname() {
|
func (self *AboutPage) Uname() {
|
||||||
out := make(map[string]string)
|
out := make(map[string]string)
|
||||||
|
|
||||||
@ -158,7 +155,8 @@ func (self *AboutPage) CpuMhz() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (self *AboutPage) CpuInfo() {
|
func (self *AboutPage) CpuInfo() {
|
||||||
|
last_processor := 0
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *AboutPage) MemInfo() {
|
func (self *AboutPage) MemInfo() {
|
||||||
|
|||||||
74
README.md
74
README.md
@ -1,6 +1,74 @@
|
|||||||
|
# GameShell launcher
|
||||||
|
This is the launcher for GameShell based on 320x240 resolution and D-Pad layout.
|
||||||
|

|
||||||
|
|
||||||
Show case of [gogame](https://github.com/cuu/gogame)
|
# Create the necessary user and group
|
||||||
|
* User name: cpi
|
||||||
|
* Password: cpi
|
||||||
|
* Group ID: 31415 with group name: cpifav
|
||||||
|
|
||||||
Tested on [GameShell](https://www.clockworkpi.com/)
|
```
|
||||||
|
sudo adduser cpi
|
||||||
|
sudo groupadd cpifav -g 31415
|
||||||
|
sudo adduser cpi cpifav
|
||||||
|
```
|
||||||
|
|
||||||

|
# Directory structure
|
||||||
|
```
|
||||||
|
/home/cpi/
|
||||||
|
├── LauncherGoDev <- Here we are
|
||||||
|
├── apps
|
||||||
|
│ ├── emulators
|
||||||
|
│ └── Menu
|
||||||
|
├── games
|
||||||
|
│ ├── FreeDM
|
||||||
|
│ ├── MAME
|
||||||
|
│ └── nxengine
|
||||||
|
└── music
|
||||||
|
```
|
||||||
|
## Create the necessary directories
|
||||||
|
```
|
||||||
|
mkdir -p /home/cpi/apps/emulators
|
||||||
|
mkdir -p /home/cpi/games
|
||||||
|
mkdir -p /home/cpi/music
|
||||||
|
```
|
||||||
|
|
||||||
|
## Install dependent packages
|
||||||
|
```
|
||||||
|
go get -u -v github.com/cuu/LauncherGoDev
|
||||||
|
```
|
||||||
|
|
||||||
|
# Create “.mpd_cpi.conf” config
|
||||||
|
|
||||||
|
vim ~/.mpd_cpi.conf
|
||||||
|
|
||||||
|
```
|
||||||
|
music_directory "/home/cpi/music"
|
||||||
|
playlist_directory "/home/cpi/music/playlists"
|
||||||
|
db_file "/home/cpi/music/tag_cache"
|
||||||
|
log_file "/tmp/mpd.log"
|
||||||
|
pid_file "/tmp/mpd.pid"
|
||||||
|
state_file "/home/cpi/music/mpd_state"
|
||||||
|
sticker_file "/home/cpi/music/sticker.sql"
|
||||||
|
user "cpi"
|
||||||
|
bind_to_address "/tmp/mpd.socket"
|
||||||
|
auto_update "yes"
|
||||||
|
auto_update_depth "3"
|
||||||
|
input {
|
||||||
|
plugin "curl"
|
||||||
|
}
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "alsa"
|
||||||
|
name "My ALSA Device"
|
||||||
|
}
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "fifo"
|
||||||
|
name "my_fifo"
|
||||||
|
path "/tmp/mpd.fifo"
|
||||||
|
format "44100:16:2"
|
||||||
|
}
|
||||||
|
|
||||||
|
filesystem_charset "UTF-8"
|
||||||
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user