fix lib
This commit is contained in:
parent
b398cbb591
commit
d04fd7cb87
6
Makefile
6
Makefile
@ -8,15 +8,15 @@ endif
|
|||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
@echo ---- build for windows
|
@echo ---- build for windows
|
||||||
wails build -upx -ldflags "-s -w" -platform windows/amd64
|
wails build -upx -ldflags '-s -w -extldflags "-static"' -platform windows/amd64
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
@echo ---- build for macos
|
@echo ---- build for macos
|
||||||
wails build -ldflags "-s -w" -platform darwin/universal
|
wails build -ldflags '-s -w' -platform darwin/universal
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
@echo ---- build for linux
|
@echo ---- build for linux
|
||||||
wails build -upx -ldflags "-s -w" -platform linux/amd64
|
wails build -upx -ldflags '-s -w' -platform linux/amd64
|
||||||
|
|
||||||
build-web:
|
build-web:
|
||||||
@echo ---- build for web
|
@echo ---- build for web
|
||||||
|
@ -140,7 +140,8 @@ async function initHardwareMonitor() {
|
|||||||
|
|
||||||
async function initMidi() {
|
async function initMidi() {
|
||||||
EventsOn('midiError', (data: string) => {
|
EventsOn('midiError', (data: string) => {
|
||||||
toast('MIDI Error: ' + data, { type: 'error' });
|
if (commonStore.platform === 'windows')
|
||||||
|
toast('MIDI Error: ' + data, { type: 'error' });
|
||||||
});
|
});
|
||||||
EventsOn('midiPorts', (data: MidiPort[]) => {
|
EventsOn('midiPorts', (data: MidiPort[]) => {
|
||||||
commonStore.setMidiPorts(data);
|
commonStore.setMidiPorts(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user