git init
Signed-off-by: lishunlong <lishunlong@kylinsec.com.cn>
This commit is contained in:
parent
fd7367a031
commit
bb9850acbb
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# wine
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
allow Apps developed for Microsoft Windows to run on Unix-like operating systems
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# wine
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
allow Apps developed for Microsoft Windows to run on Unix-like operating systems
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/usr/lib/wine/
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a0e3139b0beaa8cd0cd3fbafc96cd6097df615caa7045f377aeccce70cddf5fc
|
|
||||||
size 23630916
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAl5+bJcACgkQzvrI6q8X
|
|
||||||
UZ1eZBAAneHEgkWN6guaBBAW9qal5khdIJOYTlBo7gCbunZvEFnDNQasqv1cfdal
|
|
||||||
oceiRlBxC+cb1EyZ1Y2SiJSCilb7Q689XZzBYcck84cyrPtfy5Gr7bSqoLEV+/5a
|
|
||||||
jj3iK6sqSnjVXCXbZV459bzdFAaNhnirlgRvcqP9xT/AmjcFJ2fpZxKRkNMFM6I+
|
|
||||||
fve+yGYFmBIG7UjFUd5+vy3DRApKgiTn6wpKIIpbqny+lvHmrjVp8MHitB/Q3ykb
|
|
||||||
MpGY0a1G72nDUz/WmvZl8+MfjsOQ8uwxaHla0ZR1hDm/oq5t34SMvp+BhHRqma4G
|
|
||||||
dQR3XKWRemYrBUbiFB4Mvs4lBUSpJUtLIf5Hqt/B2ZOpWewqPLtl3bBNEusFUcQW
|
|
||||||
TRZyQK6dV7CPXpK+zdo9qM8YcML8mWfxr3wH2hxzq9Gr5/VL76XmwCjYehTY9m8g
|
|
||||||
qB9kGew/i58oV9wmO+JP59TJrvpcxtg1ubP/QkXn9CteYAEWXwW3KhHi80ntBXb1
|
|
||||||
lv8Ty04jHRDCO2u1kHhvlty2BNg2ZQfgoStwOovqHM03NayElHt5bBkz6wktaoZA
|
|
||||||
Y/bMMFms0wzRDYxkA6cq0lH/Vb4yJyXL4Rdg3D+/t1hyiFIQYfIELUJBIrPD2L/D
|
|
||||||
xzdcXRtKl3v+aCYk98skkeo+uNa5ImFv58T+Rstg6DNWMHTv/co=
|
|
||||||
=dEeC
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
@ -1 +0,0 @@
|
|||||||
/usr/lib64/wine/
|
|
||||||
@ -1,44 +0,0 @@
|
|||||||
Wine directory structure used in Fedora Linux:
|
|
||||||
==============================================
|
|
||||||
|
|
||||||
${HOME}/.wine/drive_c is the root directory (aka C: drive) wine looks for
|
|
||||||
by default. It is created with (empty) C:\windows and C:\windows\system
|
|
||||||
directories, needed to operate Wine without an existing Windows
|
|
||||||
installation, if it does not already exist.
|
|
||||||
|
|
||||||
If you want to use Wine with an existing Windows installation that is
|
|
||||||
mounted, for example, in /mnt/windows-c, change the symlink
|
|
||||||
${HOME}/.wine/dosdevices/c: to point to /mnt/windows-c instead of the
|
|
||||||
defaults set by installation.
|
|
||||||
|
|
||||||
If you do this, you can safely remove ${HOME}/.wine/drive_c.
|
|
||||||
(Alternatively, just mount your Windows partition to ${HOME}/.wine/drive_c.)
|
|
||||||
|
|
||||||
Wine bugs:
|
|
||||||
==========
|
|
||||||
If you find a bug, please take the time to move your ${HOME}/.wine directory
|
|
||||||
someplace and try with a fresh version (like mv ${HOME}/.wine{,-save}). If the
|
|
||||||
bug is still there look through https://bugzilla.redhat.com and see if the bug
|
|
||||||
has already been reported. In case it was not please report it.
|
|
||||||
|
|
||||||
CJK support:
|
|
||||||
============
|
|
||||||
Fedora carries a modified wine.inf file with support for cjk complying to the
|
|
||||||
fedora default fonts (see
|
|
||||||
http://tagoh.fedorapeople.org/fonts/fedora-current-defaultfonts.html)
|
|
||||||
|
|
||||||
wine does _not_ pull in the cjk font packages automatically. The following
|
|
||||||
font packages may need to be installed depending on your locale:
|
|
||||||
|
|
||||||
zh_CN:
|
|
||||||
wqy-microhei
|
|
||||||
|
|
||||||
jp:
|
|
||||||
vlgothic-fonts
|
|
||||||
vlgothic-p-fonts
|
|
||||||
ipa-mincho-fonts
|
|
||||||
ipa-pmincho-fonts
|
|
||||||
|
|
||||||
ko:
|
|
||||||
nhn-nanum-gothic-fonts
|
|
||||||
nhn-nanum-myeongjo-fonts.noarch
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
= wine-tahoma-fonts =
|
|
||||||
Wine provides the wine tahoma font family. In fedora embedded bitmaps are
|
|
||||||
turned off per default (/etc/fonts/conf.d/20-wine-tahoma-nobitmaps.conf) as
|
|
||||||
this will provide smoother letters for most users.
|
|
||||||
|
|
||||||
If you do not like the wine tahoma font experience but want to keep it
|
|
||||||
installed you can turn it of by adding the following to ~/.fonts.conf or by
|
|
||||||
adding a file containing the following to ~/.fonts.conf.d/:
|
|
||||||
|
|
||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<!-- Reject wine-tahoma-fonts -->
|
|
||||||
<selectfont>
|
|
||||||
<rejectfont>
|
|
||||||
<glob>*/wine-tahoma-fonts/*</glob>
|
|
||||||
</rejectfont>
|
|
||||||
</selectfont>
|
|
||||||
</fontconfig>
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
Index: wine-1.7.22/loader/wine.inf.in
|
|
||||||
===================================================================
|
|
||||||
--- wine-1.7.22.orig/loader/wine.inf.in
|
|
||||||
+++ wine-1.7.22/loader/wine.inf.in
|
|
||||||
@@ -568,6 +568,17 @@ HKLM,%FontSubStr%,"Times New Roman CE,23
|
|
||||||
HKLM,%FontSubStr%,"Times New Roman CYR,204",,"Times New Roman,204"
|
|
||||||
HKLM,%FontSubStr%,"Times New Roman Greek,161",,"Times New Roman,161"
|
|
||||||
HKLM,%FontSubStr%,"Times New Roman TUR,162",,"Times New Roman,162"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"SimSun",,"WenQuanYi Zen Hei Sharp"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"PMingLiU",,"WenQuanYi Zen Hei Sharp"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"MS Gothic",,"VL Gothic"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"MS PGothic",,"VL PGothic"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"MS UI Gothic",,"VL Gothic"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"MS Mincho",,"IPAMincho"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"MS PMincho",,"IPAPMincho"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"Batang",,"NanumMyeongjo"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"Dotum",,"NanumGothic"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"Gulim",,"NanumGothic"
|
|
||||||
+HKCU,Software\Wine\Fonts\Replacements,"Arial Unicode MS",,"Droid Sans Fallback"
|
|
||||||
HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"LogPixels",0x10003,0x00000060
|
|
||||||
|
|
||||||
[MCI]
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Windows Installer File
|
|
||||||
Name[ar]=مثبت حزم واين
|
|
||||||
Exec=wine %f
|
|
||||||
MimeType=application/x-ole-storage;text/mspg-legacyinfo;
|
|
||||||
Hidden=true
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=msiexec.exe
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Notepad
|
|
||||||
Comment=Text Editor
|
|
||||||
Name[ar]=مفكرة
|
|
||||||
Comment[ar]=محرر النّصوص مفكرة واين
|
|
||||||
Exec=notepad
|
|
||||||
Icon=notepad
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=notepad.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine OLE View
|
|
||||||
Comment=Windows OLE View
|
|
||||||
Name[ar]=عارض العناصر
|
|
||||||
Comment[ar]=لعرض العناصر البيئية في واين
|
|
||||||
Exec=wine oleview.exe
|
|
||||||
Icon=wine
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=oleview.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Regedit
|
|
||||||
Comment=Wine registry editor
|
|
||||||
Name[ar]=محرر السّجل
|
|
||||||
Comment[ar]=محرر لسجلات واين
|
|
||||||
Exec=regedit
|
|
||||||
Icon=regedit
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=regedit.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3559ed0f91dd9a863b4d3df70c41cdba385ce7a64f15102501a39e9f2c53b69c
|
|
||||||
size 9920540
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
|
|
||||||
<!-- Disable embedded bitmaps in the Tahoma font -->
|
|
||||||
|
|
||||||
<match target="font">
|
|
||||||
<test name="family"><string>Tahoma</string></test>
|
|
||||||
<edit name="embeddedbitmap"><bool>false</bool></edit>
|
|
||||||
</match>
|
|
||||||
</fontconfig>
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine Software Uninstaller
|
|
||||||
Comment=Interface to uninstall software
|
|
||||||
Name[ar]=مزيل التطبيقات من واين
|
|
||||||
Comment[ar]=واجهة إزالة التّطبيقات من واين
|
|
||||||
Exec=wine uninstaller.exe
|
|
||||||
Icon=msiexec
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=uninstaller.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine Boot
|
|
||||||
Comment=Simulate restart
|
|
||||||
Name[ar]=إقلاع واين
|
|
||||||
Comment[ar]=محاكاة إعادة التشغيل لواين
|
|
||||||
Exec=wineboot
|
|
||||||
Icon=wine
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine Configuration
|
|
||||||
Comment=Interface to set wine parameters
|
|
||||||
Name[ar]=إعدادات واين
|
|
||||||
Comment[ar]=لوحة تحكم بمنظومة واين
|
|
||||||
Exec=winecfg
|
|
||||||
Icon=winecfg
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=winecfg.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine File
|
|
||||||
Comment=Wine File Browser
|
|
||||||
Name[ar]=مدير ملفات واين
|
|
||||||
Comment[ar]=إدارة الملفات بطريقة واين
|
|
||||||
Exec=winefile
|
|
||||||
Icon=winefile
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=WineMine
|
|
||||||
Comment=Wine Minesweeper
|
|
||||||
Name[ar]=كانسة ألغام واين
|
|
||||||
Comment[ar]=لعبة كانسة ألغام واين
|
|
||||||
Exec=winemine
|
|
||||||
Icon=winemine
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=winemine.exe
|
|
||||||
Categories=Game;LogicGame;
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine Help
|
|
||||||
Comment=Windows Help Browser
|
|
||||||
Name[ar]=أداة المساعدة في واين
|
|
||||||
Comment[ar]=استعراض ملفات المساعدة بتنسيقات وندوز
|
|
||||||
Exec=wine winhlp32.exe
|
|
||||||
Icon=winhelp
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=winhlp32.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=Wine Wordpad
|
|
||||||
Comment=Text Editor
|
|
||||||
Name[ar]=دفتر واين
|
|
||||||
Comment[ar]=محرر النّصوص دفتر واين
|
|
||||||
Exec=wine wordpad.exe
|
|
||||||
Icon=wordpad
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
StartupWMClass=wordpad.exe
|
|
||||||
Categories=X-Wine;
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<component type="desktop">
|
|
||||||
<id>wine.desktop</id>
|
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
|
||||||
<project_license>LGPLv2+</project_license>
|
|
||||||
<name>Wine</name>
|
|
||||||
<summary>A compatibility layer for Windows applications</summary>
|
|
||||||
<description>
|
|
||||||
<p>
|
|
||||||
Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility
|
|
||||||
layer capable of running Windows applications on several POSIX-compliant operating
|
|
||||||
systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows
|
|
||||||
logic like a virtual machine or emulator, Wine translates Windows API calls into
|
|
||||||
POSIX calls on-the-fly, eliminating the performance and memory penalties of other
|
|
||||||
methods and allowing you to cleanly integrate Windows applications into your desktop.
|
|
||||||
</p>
|
|
||||||
</description>
|
|
||||||
<url type="homepage">https://www.winehq.org/</url>
|
|
||||||
<url type="bugtracker">https://bugs.winehq.org/</url>
|
|
||||||
<url type="faq">https://wiki.winehq.org/FAQ</url>
|
|
||||||
<url type="help">https://wiki.winehq.org/</url>
|
|
||||||
<url type="donation">https://www.winehq.org/donate</url>
|
|
||||||
<url type="translate">https://wiki.winehq.org/Translating</url>
|
|
||||||
</component>
|
|
||||||
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Encoding=UTF-8
|
|
||||||
Type=Directory
|
|
||||||
Name=Wine
|
|
||||||
Icon=wine
|
|
||||||
89
wine.init
89
wine.init
@ -1,89 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# wine Allow users to run Windows(tm) applications by just clicking on them
|
|
||||||
# (or typing ./file.exe)
|
|
||||||
#
|
|
||||||
# chkconfig: 35 98 10
|
|
||||||
# description: Allow users to run Windows(tm) applications by just clicking \
|
|
||||||
# on them (or typing ./file.exe)
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: wine-binfmt
|
|
||||||
# Required-Start:
|
|
||||||
# Required-Stop:
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: Add and remove wine binary handler
|
|
||||||
# Description: Allow users to run Windows(tm) applications by just clicking
|
|
||||||
# on them (or typing ./file.exe)
|
|
||||||
### END INIT INFO
|
|
||||||
|
|
||||||
|
|
||||||
. /etc/rc.d/init.d/functions
|
|
||||||
RETVAL=0
|
|
||||||
|
|
||||||
start() {
|
|
||||||
# fix bug on changing runlevels #213230
|
|
||||||
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
|
|
||||||
echo -n $"Binary handler for Windows applications already registered"
|
|
||||||
else
|
|
||||||
echo -n $"Registering binary handler for Windows applications: "
|
|
||||||
/sbin/modprobe binfmt_misc &>/dev/null
|
|
||||||
echo ':windows:M::MZ::/usr/bin/wine:' >/proc/sys/fs/binfmt_misc/register || :
|
|
||||||
echo ':windowsPE:M::PE::/usr/bin/wine:' >/proc/sys/fs/binfmt_misc/register || :
|
|
||||||
RETVAL=$?
|
|
||||||
[ $RETVAL -eq 0 ] && success || failure
|
|
||||||
fi
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
echo -n $"Unregistering binary handler for Windows applications: "
|
|
||||||
echo "-1" >/proc/sys/fs/binfmt_misc/windows || :
|
|
||||||
echo "-1" >/proc/sys/fs/binfmt_misc/windowsPE || :
|
|
||||||
RETVAL=$?
|
|
||||||
[ $RETVAL -eq 0 ] && success || failure
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
wine_status() {
|
|
||||||
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
|
|
||||||
echo $"Wine binary format handlers are registered."
|
|
||||||
return 0
|
|
||||||
else
|
|
||||||
echo $"Wine binary format handlers are not registered."
|
|
||||||
return 3
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
start
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
stop
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
wine_status
|
|
||||||
RETVAL=$?
|
|
||||||
;;
|
|
||||||
restart)
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
;;
|
|
||||||
reload)
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
;;
|
|
||||||
condrestart|try-restart)
|
|
||||||
|
|
||||||
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo $"Usage: $prog {start|stop|status|restart|reload|try-restart}"
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
exit $RETVAL
|
|
||||||
|
|
||||||
13
wine.menu
13
wine.menu
@ -1,13 +0,0 @@
|
|||||||
<!DOCTYPE Menu
|
|
||||||
PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
|
|
||||||
'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
|
|
||||||
<Menu>
|
|
||||||
<Name>Applications</Name>
|
|
||||||
<Menu>
|
|
||||||
<Name>wine-wine</Name>
|
|
||||||
<Directory>Wine.directory</Directory>
|
|
||||||
<Include>
|
|
||||||
<Category>X-Wine</Category>
|
|
||||||
</Include>
|
|
||||||
</Menu>
|
|
||||||
</Menu>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
# Pre-PE Windows Executables
|
|
||||||
:windows:M::MZ::/usr/bin/wine:
|
|
||||||
|
|
||||||
# PE Windows Executables
|
|
||||||
:windowsPE:M::PE::/usr/bin/wine:
|
|
||||||
Loading…
x
Reference in New Issue
Block a user