дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
IDE zoom changed the toolbar height while the macOS window buttons stayed at a fixed vertical position. The buttons are now centred in the title bar using its measured height and the zoom, and repositioned after AppKit layout updates. Zooming out keeps enough room for them so they do not cover the project icon, and compact mode follows the same alignment. Windows align from the saved zoom and compact setting when they are built, so the buttons do not move once the page loads. The height uses the zoom the webview applies, so an out-of-range setting cannot misplace them.
55 рядки
1.9 KiB
JSON
55 рядки
1.9 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "OpenIDEA",
|
|
"version": "0.1.31",
|
|
"identifier": "ai.l0ng.openidea",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"create": false,
|
|
"title": "OpenIDEA",
|
|
"width": 1440,
|
|
"height": 900,
|
|
"minWidth": 800,
|
|
"minHeight": 500,
|
|
"titleBarStyle": "Overlay",
|
|
"hiddenTitle": true,
|
|
"backgroundColor": "#E9EAEE",
|
|
"dragDropEnabled": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; img-src 'self' asset: data: blob: https://avatars.githubusercontent.com; style-src 'self' 'unsafe-inline'; font-src 'self' data:; connect-src ipc: http://ipc.localhost; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self' blob:; frame-src http://127.0.0.1:*"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": true,
|
|
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"],
|
|
"category": "DeveloperTool",
|
|
"copyright": "Copyright © 2026 OpenIDEA contributors",
|
|
"license": "Apache-2.0",
|
|
"shortDescription": "An open-source IDE inspired by IntelliJ IDEA",
|
|
"longDescription": "OpenIDEA is an open-source IDE inspired by IntelliJ IDEA. Not affiliated with JetBrains.",
|
|
"macOS": {
|
|
"entitlements": "./Entitlements.plist",
|
|
"minimumSystemVersion": "11.0"
|
|
}
|
|
},
|
|
"mainBinaryName": "openidea",
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDFCOUU0MUFFOUY4NzZCNkQKUldSdGE0ZWZya0dlRzNnRFJUR2loUVdNZ1BmamxkNzFoaWNPUTBsRmI0cjhxZFRqQURybkMwakEK",
|
|
"endpoints": ["https://github.com/l0ng-ai/openidea/releases/latest/download/latest.json"]
|
|
}
|
|
}
|
|
}
|