mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-17 14:07:34 +03:00
Update linux resource files
This commit is contained in:
parent
560e0714d1
commit
b2b73772b8
@ -8,4 +8,4 @@ Type=Application
|
||||
StartupNotify=true
|
||||
Categories=GTK;Utility;TextEditor;Development;
|
||||
MimeType=application/javascript;application/json;application/x-httpd-eruby;application/x-httpd-php;application/x-httpd-php3;application/x-httpd-php4;application/x-httpd-php5;application/x-ruby;application/x-bash;application/x-csh;application/x-sh;application/x-zsh;application/x-shellscript;application/x-sql;application/x-tcl;application/xhtml+xml;application/xml;application/xml-dtd;application/xslt+xml;text/coffeescript;text/css;text/html;text/plain;text/xml;text/xml-dtd;text/x-bash;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-c;text/x-chdr;text/x-csh;text/x-csrc;text/x-dsrc;text/x-diff;text/x-go;text/x-java;text/x-java-source;text/x-makefile;text/x-markdown;text/x-objc;text/x-perl;text/x-php;text/x-python;text/x-ruby;text/x-sh;text/x-zsh;text/yaml;inode/directory
|
||||
StartupWMClass=atom
|
||||
StartupWMClass=pulsar
|
||||
|
@ -4,9 +4,9 @@
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<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>
|
||||
<action id="pulsar.pkexec.dd">
|
||||
<description gettext-domain="pulsar">Admin privileges required</description>
|
||||
<message gettext-domain="pulsar">Please enter your password to save this file</message>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/bin/dd</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
<defaults>
|
||||
|
@ -3,7 +3,7 @@ Version: <%= version %>
|
||||
Release: 0.1%{?dist}
|
||||
Summary: <%= description %>
|
||||
License: MIT
|
||||
URL: https://atom.io/
|
||||
URL: https://pulsar-edit.dev
|
||||
AutoReqProv: no # Avoid libchromiumcontent.so missing dependency
|
||||
Prefix: <%= installDir %>
|
||||
|
||||
@ -25,7 +25,7 @@ Requires: alsa-lib, git-core, (glib2 or kde-cli-tools or xdg-utils), lsb-core-no
|
||||
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 %>"
|
||||
ln -sf "../share/<%= appFileName %>/resources/app/ppm/node_modules/.bin/apm" "%{buildroot}/<%= installDir %>/bin/<%= apmFileName %>"
|
||||
cp pulsar.sh "%{buildroot}/<%= installDir %>/bin/<%= appFileName %>"
|
||||
chmod 755 "%{buildroot}/<%= installDir %>/bin/<%= appFileName %>"
|
||||
mkdir -p "%{buildroot}/<%= installDir %>/share/applications/"
|
||||
|
Loading…
Reference in New Issue
Block a user