Rename build resources/icons to pulsar

This commit is contained in:
Spiker985 2022-08-16 17:47:50 -04:00 committed by Maurício Szabo
parent e0682f782d
commit b6ac438d39
19 changed files with 22 additions and 22 deletions

View File

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -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.

View File

@ -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

View File

@ -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>

View File

@ -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/"

View File

@ -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>

View File

@ -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>

View File

@ -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 %>" %*
) )

View File

@ -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