Skip to content

Commit 7a09e5e

Browse files
committed
chore: adjust scrolls
1 parent ce0ea9e commit 7a09e5e

139 files changed

Lines changed: 7 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-lgsm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
username: ${{ secrets.SCROLL_REGISTRY_USER }}
1515
password: ${{ secrets.SCROLL_REGISTRY_PASSWORD }}
1616
- name: Build all LGSM games
17-
run: sh build-docker-images.sh
17+
run: bash .docker/linuxgsm/build-docker-images.sh

generate-scrolls.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ func main() {
110110
cp.Copy(path+"/init-files", dir+"/init-files")
111111
cp.Copy(path+"/init-files-template", dir+"/init-files-template")
112112
cp.Copy(path+"/update", dir+"/update")
113+
//copy shell scripts
114+
cp.Copy(path, dir, cp.Options{
115+
Skip: func(info os.FileInfo, src, dest string) (bool, error) {
116+
return !strings.HasSuffix(src, ".sh") || strings.HasPrefix(info.Name(), "_"), nil
117+
},
118+
})
113119

114120
//render and copy switch scroll
115121
subitems, _ := ioutil.ReadDir(switchScrollDir)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)