chore(release): drop flatpak, add macOS .dmg, hide Windows console
- .github/workflows/release.yml: remove the build-flatpak job; matrix- add macOS (arm64 + x86_64) that builds H7CAD.app by hand, renders .icns from assets/logo.svg via librsvg + iconutil, and packages a UDZO .dmg. AppImage path updated to packaging/H7CAD.desktop. - packaging/H7CAD.desktop: moved out of flatpak/ so the AppImage job doesn't depend on a Flatpak layout. - packaging/Info.plist: macOS bundle template; __VERSION__ swapped for the release tag at build time. - flatpak/: deleted (manifests, metainfo, desktop, builder cache). - src/main.rs: `#![cfg_attr(all(windows, not(debug_assertions)), windows_subsystem = "windows")]` so the Windows GUI binary no longer spawns a console window alongside it (debug builds keep the console for log output). - README: add macOS install section, document Gatekeeper / SmartScreen on first launch since the binaries are unsigned. Bump to 0.3.5. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
50281c6a05
commit
9527509ea2
10 changed files with 153 additions and 210 deletions
11
packaging/H7CAD.desktop
Normal file
11
packaging/H7CAD.desktop
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=H7CAD
|
||||
Comment=A CAD application for 2D/3D drawing and design
|
||||
Exec=H7CAD
|
||||
Icon=io.github.HakanSeven12.H7CAD
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;Engineering;
|
||||
MimeType=image/vnd.dxf;
|
||||
Keywords=CAD;DXF;drawing;design;engineering;2D;3D;
|
||||
StartupWMClass=H7CAD
|
||||
59
packaging/Info.plist
Normal file
59
packaging/Info.plist
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>H7CAD</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>H7CAD</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>AppIcon</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>io.github.HakanSeven12.H7CAD</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>H7CAD</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>__VERSION__</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>__VERSION__</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>11.0</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© Hakan Seven</string>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>AutoCAD Drawing</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>com.autodesk.dwg</string>
|
||||
</array>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Alternate</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>AutoCAD DXF</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>com.autodesk.dxf</string>
|
||||
</array>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Alternate</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
Loading…
Reference in a new issue