✨ Support drag-and-drop configuration
This commit is contained in:
@@ -332,6 +332,17 @@ This option adds necessary HTTP headers (`Cross-Origin-Opener-Policy: same-origi
|
||||
pake https://flutter.dev --name FlutterApp --wasm
|
||||
```
|
||||
|
||||
#### [enable-drag-drop]
|
||||
|
||||
Enable native drag and drop functionality within the application. Default is `false`. When enabled, allows drag and drop operations like reordering items, file uploads, and other interactive drag behaviors that work in regular browsers.
|
||||
|
||||
```shell
|
||||
--enable-drag-drop
|
||||
|
||||
# Example: Package an app that requires drag-drop functionality
|
||||
pake https://planka.example.com --name PlankApp --enable-drag-drop
|
||||
```
|
||||
|
||||
#### [installer-language]
|
||||
|
||||
Set the Windows Installer language. Options include `zh-CN`, `ja-JP`, More at [Tauri Document](https://tauri.app/distribute/windows-installer/#internationalization). Default is `en-US`.
|
||||
|
||||
@@ -319,6 +319,17 @@ pake [url] [options]
|
||||
pake https://flutter.dev --name FlutterApp --wasm
|
||||
```
|
||||
|
||||
#### [enable-drag-drop]
|
||||
|
||||
启用原生拖拽功能。默认为 `false`。启用后,允许在应用中进行拖拽操作,如重新排序项目、文件上传以及其他在常规浏览器中有效的交互式拖拽行为。
|
||||
|
||||
```shell
|
||||
--enable-drag-drop
|
||||
|
||||
# 示例:打包需要拖拽功能的应用
|
||||
pake https://planka.example.com --name PlankApp --enable-drag-drop
|
||||
```
|
||||
|
||||
#### [title]
|
||||
|
||||
设置窗口标题栏文本。如果未指定,窗口标题将为空。
|
||||
|
||||
Reference in New Issue
Block a user