diff --git a/README.md b/README.md index c338c3a..de6bf62 100644 --- a/README.md +++ b/README.md @@ -169,4 +169,5 @@ open MobileMkch.xcodeproj Но данный клиент имеет обратную совместимость с поддержкой ПК! А настройки хранятся в файле `settings.json` в папке `~/.config/mkch/` и вы можете их использовать на ПК! Я оффициально поддерживаю этот функционал потому что клиент первым запускается на моем ПК, а только затем тестируется на мобильных устройствах. -Сборка проста, `go build` и запускайте `./MobileMkch` (или с .exe если винда) \ No newline at end of file +Сборка проста, `go build` и запускайте `./MobileMkch` (или с .exe если винда) +P.S. на Маках вообще должно быть просто fyne package и у вас будет .app файл, вроде запускается, тестово залью на [relays.lol/releases](https://relays.lol/releases) для ARM бояр. \ No newline at end of file diff --git a/minibuild.sh b/minibuild.sh new file mode 100755 index 0000000..2d8f250 --- /dev/null +++ b/minibuild.sh @@ -0,0 +1,5 @@ +#!/bin/sh +CGO_ENABLED=0 fyne build --target darwin -o MobileMkch-arm64 +CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 fyne build --target darwin -o MobileMkch-amd64 +lipo -create MobileMkch-arm64 MobileMkch-amd64 -output MobileMkch-universal +fyne package --executable MobileMkch-universal --name MobileMkch diff --git a/shablondmg.dmgcanvas/Contents/backgroundImage.png b/shablondmg.dmgcanvas/Contents/backgroundImage.png new file mode 100644 index 0000000..22081e2 Binary files /dev/null and b/shablondmg.dmgcanvas/Contents/backgroundImage.png differ diff --git a/shablondmg.dmgcanvas/Contents/volumeIcon.png b/shablondmg.dmgcanvas/Contents/volumeIcon.png new file mode 100644 index 0000000..6b3097e Binary files /dev/null and b/shablondmg.dmgcanvas/Contents/volumeIcon.png differ diff --git a/shablondmg.dmgcanvas/Disk Image b/shablondmg.dmgcanvas/Disk Image new file mode 100644 index 0000000..95eeeda --- /dev/null +++ b/shablondmg.dmgcanvas/Disk Image @@ -0,0 +1,57 @@ +{ + "diskImage" : { + "autoopen" : true, + "background" : { + "image" : "backgroundImage", + "imageScaleOption" : 50, + "layoutObjects" : [ + + ], + "type" : 0 + }, + "encryption" : "AES-256", + "finalFormat" : "ULMO", + "iconPreviewVisible" : false, + "iconSize" : 147, + "itemInfoVisible" : false, + "labelPosition" : 0, + "licenses" : [ + + ], + "nameFontSize" : 10, + "password" : "belochkamkacha", + "statusBarVisible" : false, + "suggestedDiskImageName" : "mobilemkch.dmg", + "toolbarVisible" : false, + "uid" : "vpnluvqwla", + "validationScheme" : 0, + "viewLayout" : 0, + "volumeIcon" : "volumeIcon", + "volumeName" : "belochki", + "volumeSize" : 0, + "volumeSizeOption" : "Automatic", + "windowContentHeight" : 394, + "windowContents" : [ + { + "filePath" : "\/Applications", + "iconSize" : 100, + "invisible" : false, + "isAnAlias" : true, + "location" : "{611, 214}", + "relativeFilePath" : "..\/..\/..\/..\/..\/Applications" + }, + { + "filePath" : "\/Users\/platon\/Desktop\/MobileMkch\/MobileMkch\/MobileMkch.app", + "iconSize" : 100, + "invisible" : false, + "isAnAlias" : false, + "location" : "{109, 214}", + "relativeFilePath" : "MobileMkch.app" + } + ], + "windowContentWidth" : 702, + "windowLeft" : 200, + "windowTop" : 120 + }, + "version" : 4 +} \ No newline at end of file diff --git a/shablondmg.dmgcanvas/QuickLook/Preview.jpg b/shablondmg.dmgcanvas/QuickLook/Preview.jpg new file mode 100644 index 0000000..9606152 Binary files /dev/null and b/shablondmg.dmgcanvas/QuickLook/Preview.jpg differ