mirror of
https://github.com/zergon321/reisen.git
synced 2026-04-22 23:17:21 +08:00
Merge branch 'master' of github.com:zergon321/reisen
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import os, fileinput, shutil
|
||||
|
||||
dllDir = "C:/msys64/mingw64/bin"
|
||||
|
||||
bundleDirPath = os.path.abspath("bundle")
|
||||
os.makedirs(bundleDirPath, exist_ok=True)
|
||||
|
||||
for dllName in fileinput.input():
|
||||
dllName = dllName.strip()
|
||||
dllPath = os.path.join(dllDir, dllName)
|
||||
for dllInfo in fileinput.input():
|
||||
dllInfo = dllInfo.strip()
|
||||
dllInfoParts = dllInfo.split(sep=" ")
|
||||
dllName = dllInfoParts[0]
|
||||
dllPath = dllInfoParts[2]
|
||||
dllBundlePath = os.path.join(bundleDirPath, dllName)
|
||||
|
||||
shutil.copyfile(dllPath, dllBundlePath)
|
||||
if dllPath.startswith("/mingw64/bin"):
|
||||
dllPath = os.path.join("C:/msys64", dllPath[1:])
|
||||
shutil.copyfile(dllPath, dllBundlePath)
|
||||
|
||||
shutil.copyfile("analyze.exe", "bundle/analyze.exe")
|
||||
@@ -1,15 +1,17 @@
|
||||
import os, fileinput, shutil
|
||||
|
||||
dllDir = "C:/msys64/mingw64/bin"
|
||||
|
||||
bundleDirPath = os.path.abspath("bundle")
|
||||
os.makedirs(bundleDirPath, exist_ok=True)
|
||||
|
||||
for dllName in fileinput.input():
|
||||
dllName = dllName.strip()
|
||||
dllPath = os.path.join(dllDir, dllName)
|
||||
for dllInfo in fileinput.input():
|
||||
dllInfo = dllInfo.strip()
|
||||
dllInfoParts = dllInfo.split(sep=" ")
|
||||
dllName = dllInfoParts[0]
|
||||
dllPath = dllInfoParts[2]
|
||||
dllBundlePath = os.path.join(bundleDirPath, dllName)
|
||||
|
||||
shutil.copyfile(dllPath, dllBundlePath)
|
||||
if dllPath.startswith("/mingw64/bin"):
|
||||
dllPath = os.path.join("C:/msys64", dllPath[1:])
|
||||
shutil.copyfile(dllPath, dllBundlePath)
|
||||
|
||||
shutil.copyfile("player.exe", "bundle/player.exe")
|
||||
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/faiface/beep"
|
||||
"github.com/faiface/beep/speaker"
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
_ "github.com/silbinarywolf/preferdiscretegpu"
|
||||
"github.com/zergon321/reisen"
|
||||
)
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ require (
|
||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200707082815-5321531c36a2 // indirect
|
||||
github.com/hajimehoshi/oto v0.6.8 // indirect
|
||||
github.com/pkg/errors v0.8.1 // indirect
|
||||
github.com/silbinarywolf/preferdiscretegpu v1.0.0 // indirect
|
||||
golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56 // indirect
|
||||
golang.org/x/image v0.0.0-20200801110659-972c09e46d76 // indirect
|
||||
golang.org/x/mobile v0.0.0-20210208171126-f462b3930c8f // indirect
|
||||
|
||||
@@ -36,6 +36,8 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA
|
||||
github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA=
|
||||
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
|
||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||
github.com/silbinarywolf/preferdiscretegpu v1.0.0 h1:tuvXLRCnoFMFyk74/8PFvO0B5rjDmXm0JgNTaOYAHT0=
|
||||
github.com/silbinarywolf/preferdiscretegpu v1.0.0/go.mod h1:h3s2GkfAP2sWqoS7v/PxAlFOQ1azMRsZxUJNw47QhLc=
|
||||
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
|
||||
Reference in New Issue
Block a user