Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:

- name: Build application
run: npm run ${{ matrix.build_command }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Find artifact
id: find-artifact
Expand Down
10 changes: 10 additions & 0 deletions README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ PKGファイルを開く際に、以下のセキュリティ警告が表示さ

![PKG Security Warning Privacy Setting](./assets/macos-security-warning-pkg-privacy-setting.png)

### macOS コード署名(必須)

macOS のセキュリティ制限により、インストール後に以下のコマンドを実行してアプリケーションに署名する必要があります。

```bash
sudo codesign --force --deep --sign - "/Applications/Bedrock Engineer.app"
```

このアドホックコード署名は、システムの許可ダイヤログの適切な処理を含め、アプリケーションが macOS 上で正しく動作するために必要です。

### 設定ファイルの問題

アプリケーション起動時に設定ファイルエラーが発生する場合、以下の設定ファイルを確認ください。設定ファイルを削除してアプリケーションを再起動し直しても起動できない場合、issue に起票ください。
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ This security warning appears because the application is not distributed through

![PKG Security Warning Privacy Setting](./assets/macos-security-warning-pkg-privacy-setting.png)

### macOS Code Signing (Required)

Due to macOS security restrictions, you must run the following command after installation to properly sign the application:

```bash
sudo codesign --force --deep --sign - "/Applications/Bedrock Engineer.app"
```

This ad-hoc code signing is required to ensure the application functions correctly on macOS, including proper handling of system permission dialogs.

### Configuration Issues

If a configuration file error occurs when starting the application, please check the following configuration files. If you cannot start the application even after deleting the configuration files and restarting it, please file an issue.
Expand Down
1 change: 1 addition & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mac:
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSAudioCaptureUsageDescription: Application requests access to the device's audio for screen capture.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
Expand Down
10 changes: 7 additions & 3 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
import { resolve } from 'path'
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import { defineConfig } from 'electron-vite'
import react from '@vitejs/plugin-react'
import svgr from 'vite-plugin-svgr'
import tailwindcss from 'tailwindcss'

export default defineConfig({
main: {
plugins: [externalizeDepsPlugin()]
build: {
externalizeDeps: true
}
},
preload: {
plugins: [externalizeDepsPlugin()]
build: {
externalizeDeps: true
}
},
renderer: {
resolve: {
Expand Down
Loading
Loading