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 %>
|
||||
Maintainer: GitHub <atom@github.com>
|
||||
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]
|
||||
Active=true
|
||||
Name=Open in Atom
|
||||
Comment=Open in Atom
|
||||
Name=Open in Pulsar
|
||||
Comment=Open in Pulsar
|
||||
#%U is the current selected file, this will also work on current directory
|
||||
Exec=atom -n %U
|
||||
Icon-Name=atom
|
||||
Exec=pulsar -n %U
|
||||
Icon-Name=pulsar
|
||||
Selection=any
|
||||
Extensions=any
|
@ -3,7 +3,7 @@
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<vendor>Atom</vendor>
|
||||
<vendor>Pulsar</vendor>
|
||||
<action id="atom.pkexec.dd">
|
||||
<description gettext-domain="atom">Admin privileges required</description>
|
||||
<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 %>/"
|
||||
mkdir -p "%{buildroot}/<%= installDir %>/bin/"
|
||||
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 %>"
|
||||
mkdir -p "%{buildroot}/<%= installDir %>/share/applications/"
|
||||
cp "<%= appFileName %>.desktop" "%{buildroot}/<%= installDir %>/share/applications/"
|
@ -5,15 +5,15 @@
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Atom Helper</string>
|
||||
<string>Pulsar Helper</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>Atom Helper</string>
|
||||
<string>Pulsar Helper</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.github.atom.helper</string>
|
||||
<string>com.github.pulsar.helper</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Atom Helper</string>
|
||||
<string>Pulsar Helper</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
@ -3,15 +3,15 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>Atom</string>
|
||||
<string>Pulsar</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>atom.icns</string>
|
||||
<string>pulsar.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.github.atom</string>
|
||||
<string>com.github.pulsar</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Atom</string>
|
||||
<string>Pulsar</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
@ -43,10 +43,10 @@
|
||||
<dict>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>atom</string>
|
||||
<string>pulsar</string>
|
||||
</array>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>Atom Shared Session Protocol</string>
|
||||
<string>Pulsar Shared Session Protocol</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleDocumentTypes</key>
|
@ -47,5 +47,5 @@ IF "%EXPECT_OUTPUT%"=="YES" (
|
||||
"%~dp0\..\..\<%= atomExeName %>" %*
|
||||
)
|
||||
) ELSE (
|
||||
"%~dp0\..\app\apm\bin\node.exe" "%~dp0\atom.js" "<%= atomExeName %>" %*
|
||||
"%~dp0\..\app\apm\bin\node.exe" "%~dp0\pulsar.js" "<%= atomExeName %>" %*
|
||||
)
|
@ -2,7 +2,7 @@
|
||||
# Get current path in Windows format
|
||||
if command -v "cygpath" > /dev/null; then
|
||||
# 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' ' ') )
|
||||
else
|
||||
ARGS=$@
|
||||
@ -13,10 +13,10 @@ else
|
||||
# If different root mount point defined in /etc/wsl.conf, use that instead
|
||||
eval $(grep "^root" /etc/wsl.conf | sed -e "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
|
||||
# We don't have cygpath or WSL so try pwd -W
|
||||
ATOMCMD="$(pwd -W)/atom.cmd"
|
||||
ATOMCMD="$(pwd -W)/pulsar.cmd"
|
||||
fi
|
||||
popd > /dev/null
|
||||
fi
|