summarylogtreecommitdiffstats
path: root/portable-config
blob: 58940bac6e7e65a1d1c5ff0e0fe69eb9c2f8b4f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/bash

# This is your Application ID, avoid conflict
appID="com.baidu.pan"

# This is a friendly name of an application. It should only contain ASCII characters and not spaces.
friendlyName="BaiduNetDisk"

# This is the state directory of your application, which is located under "XDG_DATA_HOME"
stateDirectory="BaiduNetDisk_Data"

# This is the target executable to launch
launchTarget="/usr/lib/baidunetdisk/baidunetdisk"

# Takes a boolean value or string "adaptive". When true, do not process XAuth files and forces wayland input method. "adaptive" enables this option on Wayland and vice versa. Generally this should be adaptive when possible.
waylandOnly="false"

# Takes boolean value.
bindInputDevices="false"

# Takes boolean value. Binds /dev/video* into the sandbox. Required if target application uses /dev/video* interfaces directly instead of v4l2.
bindCameras="false"

# Takes boolean value. Binds PipeWire socket into the sandbox. Required if target application doesn't use Portals. Please be aware that such operation may impact the integrity of host.
bindPipewire="false"

# Expose all GPUs. Takes boolean value, usually used in games.
gameMode="false"

# Wake the application using D-Bus calls towards StatusNotifiers.
dbusWake="false"

# Enables Network access within the sandbox. Defaults to true.
bindNetwork="true"

# Use pipewire-v4l2 to replace v4l2. Requires bindPipewire=true!
pwCam="false"

# Use zink for GL -> Vulkan translation
useZink="true"

# Enable compatibility workarounds for Qt5. Defaults to true.
qt5Compat="false"

# Below you can set envs that will be imported into the application sandbox
LD_PRELOAD="/usr/lib/baidunetdisk/libbrowserengine.so:/usr/lib/baidunetdisk/libkernel.so"