# gtool **Repository Path**: YX503203440/gtool ## Basic Information - **Project Name**: gtool - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-09 - **Last Updated**: 2025-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This is a Kotlin Multiplatform project targeting Desktop (JVM). * [/composeApp](./composeApp/src) is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders: - [commonMain](./composeApp/src/commonMain/kotlin) is for code that’s common for all targets. - Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, the [iosMain](./composeApp/src/iosMain/kotlin) folder would be the right place for such calls. Similarly, if you want to edit the Desktop (JVM) specific part, the [jvmMain](./composeApp/src/jvmMain/kotlin) folder is the appropriate location. ### Build and Run Desktop (JVM) Application To build and run the development version of the desktop app, use the run configuration from the run widget in your IDE’s toolbar or run it directly from the terminal: - on macOS/Linux ```shell ./gradlew :composeApp:run ``` - on Windows ```shell .\gradlew.bat :composeApp:run ``` --- Learn more about [Kotlin Multiplatform](https://www.jetbrains.com/help/kotlin-multiplatform-dev/get-started.html)… ### 生成macos的icns ```shell # 以下命令在macos中使用zsh执行 # 1. 生成全套尺寸 mkdir logo.iconset sips -z 16 16 favicon.png --out logo.iconset/icon_16x16.png sips -z 32 32 favicon.png --out logo.iconset/icon_16x16@2x.png sips -z 32 32 favicon.png --out logo.iconset/icon_32x32.png sips -z 64 64 favicon.png --out logo.iconset/icon_32x32@2x.png sips -z 128 128 favicon.png --out logo.iconset/icon_128x128.png sips -z 256 256 favicon.png --out logo.iconset/icon_128x128@2x.png sips -z 256 256 favicon.png --out logo.iconset/icon_256x256.png sips -z 512 512 favicon.png --out logo.iconset/icon_256x256@2x.png sips -z 512 512 favicon.png --out logo.iconset/icon_512x512.png sips -z 1024 1024 favicon.png --out logo.iconset/icon_512x512@2x.png # 2. 打包成 icns iconutil -c icns logo.iconset -o logo.icns # 3. 清理临时文件 rm -rf logo.iconset ```