Rename build resources/icons to pulsar
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 148 KiB |
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 146 KiB |
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
@ -9,4 +9,4 @@ Architecture: <%= arch %>
|
|||||||
Installed-Size: <%= installedSize %>
|
Installed-Size: <%= installedSize %>
|
||||||
Maintainer: GitHub <atom@github.com>
|
Maintainer: GitHub <atom@github.com>
|
||||||
Description: <%= description %>
|
Description: <%= description %>
|
||||||
Atom is a free and open source text editor that is modern, approachable, and hackable to the core.
|
Pulsar is a free and open source text editor that is modern, approachable, and hackable to the core.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[Nemo Action]
|
[Nemo Action]
|
||||||
Active=true
|
Active=true
|
||||||
Name=Open in Atom
|
Name=Open in Pulsar
|
||||||
Comment=Open in Atom
|
Comment=Open in Pulsar
|
||||||
#%U is the current selected file, this will also work on current directory
|
#%U is the current selected file, this will also work on current directory
|
||||||
Exec=atom -n %U
|
Exec=pulsar -n %U
|
||||||
Icon-Name=atom
|
Icon-Name=pulsar
|
||||||
Selection=any
|
Selection=any
|
||||||
Extensions=any
|
Extensions=any
|
@ -3,7 +3,7 @@
|
|||||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||||
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
||||||
<policyconfig>
|
<policyconfig>
|
||||||
<vendor>Atom</vendor>
|
<vendor>Pulsar</vendor>
|
||||||
<action id="atom.pkexec.dd">
|
<action id="atom.pkexec.dd">
|
||||||
<description gettext-domain="atom">Admin privileges required</description>
|
<description gettext-domain="atom">Admin privileges required</description>
|
||||||
<message gettext-domain="atom">Please enter your password to save this file</message>
|
<message gettext-domain="atom">Please enter your password to save this file</message>
|
@ -26,7 +26,7 @@ mkdir -p "%{buildroot}/<%= installDir %>/share/<%= appFileName %>/"
|
|||||||
cp -r "<%= appName %>"/* "%{buildroot}/<%= installDir %>/share/<%= appFileName %>/"
|
cp -r "<%= appName %>"/* "%{buildroot}/<%= installDir %>/share/<%= appFileName %>/"
|
||||||
mkdir -p "%{buildroot}/<%= installDir %>/bin/"
|
mkdir -p "%{buildroot}/<%= installDir %>/bin/"
|
||||||
ln -sf "../share/<%= appFileName %>/resources/app/apm/node_modules/.bin/apm" "%{buildroot}/<%= installDir %>/bin/<%= apmFileName %>"
|
ln -sf "../share/<%= appFileName %>/resources/app/apm/node_modules/.bin/apm" "%{buildroot}/<%= installDir %>/bin/<%= apmFileName %>"
|
||||||
cp atom.sh "%{buildroot}/<%= installDir %>/bin/<%= appFileName %>"
|
cp pulsar.sh "%{buildroot}/<%= installDir %>/bin/<%= appFileName %>"
|
||||||
chmod 755 "%{buildroot}/<%= installDir %>/bin/<%= appFileName %>"
|
chmod 755 "%{buildroot}/<%= installDir %>/bin/<%= appFileName %>"
|
||||||
mkdir -p "%{buildroot}/<%= installDir %>/share/applications/"
|
mkdir -p "%{buildroot}/<%= installDir %>/share/applications/"
|
||||||
cp "<%= appFileName %>.desktop" "%{buildroot}/<%= installDir %>/share/applications/"
|
cp "<%= appFileName %>.desktop" "%{buildroot}/<%= installDir %>/share/applications/"
|
@ -5,15 +5,15 @@
|
|||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>Atom Helper</string>
|
<string>Pulsar Helper</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>Atom Helper</string>
|
<string>Pulsar Helper</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.github.atom.helper</string>
|
<string>com.github.pulsar.helper</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>Atom Helper</string>
|
<string>Pulsar Helper</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>Atom</string>
|
<string>Pulsar</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>atom.icns</string>
|
<string>pulsar.icns</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.github.atom</string>
|
<string>com.github.pulsar</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>Atom</string>
|
<string>Pulsar</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
@ -43,10 +43,10 @@
|
|||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleURLSchemes</key>
|
<key>CFBundleURLSchemes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>atom</string>
|
<string>pulsar</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleURLName</key>
|
<key>CFBundleURLName</key>
|
||||||
<string>Atom Shared Session Protocol</string>
|
<string>Pulsar Shared Session Protocol</string>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleDocumentTypes</key>
|
<key>CFBundleDocumentTypes</key>
|
@ -47,5 +47,5 @@ IF "%EXPECT_OUTPUT%"=="YES" (
|
|||||||
"%~dp0\..\..\<%= atomExeName %>" %*
|
"%~dp0\..\..\<%= atomExeName %>" %*
|
||||||
)
|
)
|
||||||
) ELSE (
|
) ELSE (
|
||||||
"%~dp0\..\app\apm\bin\node.exe" "%~dp0\atom.js" "<%= atomExeName %>" %*
|
"%~dp0\..\app\apm\bin\node.exe" "%~dp0\pulsar.js" "<%= atomExeName %>" %*
|
||||||
)
|
)
|
@ -2,8 +2,8 @@
|
|||||||
# Get current path in Windows format
|
# Get current path in Windows format
|
||||||
if command -v "cygpath" > /dev/null; then
|
if command -v "cygpath" > /dev/null; then
|
||||||
# We have cygpath to do the conversion
|
# We have cygpath to do the conversion
|
||||||
ATOMCMD=$(cygpath "$(dirname "$0")/atom.cmd" -a -w)
|
ATOMCMD=$(cygpath "$(dirname "$0")/pulsar.cmd" -a -w)
|
||||||
ARGS=( $(cygpath -a -w "$@" | tr '\n' ' ') )
|
ARGS=( $(cygpath -a -w "$@" | tr '\n' ' ') )
|
||||||
else
|
else
|
||||||
ARGS=$@
|
ARGS=$@
|
||||||
pushd "$(dirname "$0")" > /dev/null
|
pushd "$(dirname "$0")" > /dev/null
|
||||||
@ -13,10 +13,10 @@ else
|
|||||||
# If different root mount point defined in /etc/wsl.conf, use that instead
|
# If different root mount point defined in /etc/wsl.conf, use that instead
|
||||||
eval $(grep "^root" /etc/wsl.conf | sed -e "s/ //g")
|
eval $(grep "^root" /etc/wsl.conf | sed -e "s/ //g")
|
||||||
root="$(echo $root | sed 's|/|\\/|g')"
|
root="$(echo $root | sed 's|/|\\/|g')"
|
||||||
ATOMCMD="$(echo $PWD | sed 's/\/mnt\/\([a-z]*\)\(.*\)/\1:\2/')/atom.cmd"
|
ATOMCMD="$(echo $PWD | sed 's/\/mnt\/\([a-z]*\)\(.*\)/\1:\2/')/pulsar.cmd"
|
||||||
else
|
else
|
||||||
# We don't have cygpath or WSL so try pwd -W
|
# We don't have cygpath or WSL so try pwd -W
|
||||||
ATOMCMD="$(pwd -W)/atom.cmd"
|
ATOMCMD="$(pwd -W)/pulsar.cmd"
|
||||||
fi
|
fi
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
fi
|
fi
|