I would like to test/debug storage migration of an extension. When installing via "Load unpacked" a new ID is generated and the extension is installed as a separate extension.
How can it be installed as an upgrade of the previously installed extension?
You need to copy published esxtension's key:
Copy your extension url.
Paste into crx-viewer and click on open in viewer
Open console and copy public key
Add this line in your manifest.json
{
"key":"you_copied_key"
}
Related
I cannot use the simple installation code because a proxy blocks my way out. Unfortunately, I just don't get the instructions on the webpage.
1. Click the Preferences > Browse Packages… menu
2. Browse up a folder and then into the Installed Packages/ folder
3. Download Package Control.sublime-package and copy it into the Installed Packages/ directory
4. Restart Sublime Text
What exactly does 2. mean? I guess I literally don't understand what "Browse up a folder and then into..." means.
I did click on the Browse Packages menu and used the popup explorer window to create a folder in my documents directory called Installed Packages. But what's next? Since I am just in a regular Explorer window, it I don't see how sublime now knows about this folder.
In Sublime Text, click the Preferences > Browse Packages… menu
this opens Windows Explorer in the path %AppData%\Roaming\Sublime Text 3\Packages.
Browse up a folder
go up one folder level, the equivalent of cd .. in the command prompt. So basically, you want to be in %AppData%\Roaming\Sublime Text 3.
You can do this using the breadcrumbs in the address bar - using the above image as a guide, click on Sublime Text 3. Alternatively, press Backspace to go up a folder level. (Normally it will go back one history level, but in this case there is no history because it is a new Explorer window, so it will go up a directory in the folder hierarchy.)
and then into the Installed Packages folder
Double click on the Installed Packages folder to navigate into it.
Download Package Control.sublime-package and copy it into the Installed Packages directory
So you will have a file called Package Control.sublime-package in the %AppData%\Roaming\Sublime Text 3\Installed Packages folder.
Restart Sublime Text
Close ST and launch it again.
For Mac users, for No. 2, you'll most likely see this. That is the Packages file
To be able to browse up a folder and view the Installed Packages:
Then from there, download using the link and put it in the installed package folder, there you go!
When I package my extension folder it outputs with the same name and in the same directory
In the terminal:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --pack-extension=./extension
My project folder:
root/
extension/
manifest.json
...
extension.crx
extension.pem
How can I change the name of the .crx and .pem files and also their destination?
Thanks.
There is no built-in option in Chrome to change the name or destination. You can either add a command to your build process to move the generated files or use the CRX building scripts published here to directly build the files as you please. The one in Ruby already has the options you need. The bash one would require some modification.
I am using NuGet.Exe version 2.8.2 to create nuget package. After Create Package, Open with NuGet Package Explorer and I saw there is some default code inside package like in icon URL text box
http:// icon_url_here_or_delete_this_line/
To see such data follow steps as foolows
Open command Line Box (cmc.exe).
Go to folder where NuGet.exe is present.
Run Command "nuget spec abc.dll" (abc.dll must present inside folder)
once abc.dll.spec file create the run " nuget pack abc.dll.spec "
done with creating package with some warnings about that default code in metadata.
Now open that package with Nuget Package explorer you can see that metadata with some default code like I mention above.
I also refer document present in this link provided by nuget.Org.
So the question is that how to set my customize information to this metadata using command line?
NOTE :-
Please do not suggest to do it using Nuget Package Explorer because I know it I just want to use command line to do so.
I don't think NuGet.exe supports it. You can manually edit the .nuspec file in notepad, and replace the metadata like project URL; or do string replacement of the .nuspec file using powershell commands.
I have installed Google Chrome's extension Chrome Office Viewer (Beta) for open Excel, Word and Power Point documents in browser. And now I need to install this extension to others computers in local network.
The problem is that the computers is not connected to the Internet.
How can I extricate (get) installed Google Chrome's extension for installing to others computers (offline)?
Chrome extensions are stored in your filesystem, under the Extensions folder, inside Chrome's user data directory.
Windows XP: C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\<Extension ID>
Windows 10/8/7/Vista: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Extensions\<Extension ID>
macOS: ~/Library/Application Support/Google/Chrome/Default/Extensions/<Extension ID>
Linux: ~/.config/google-chrome/Default/Extensions/<Extension ID>
Chrome OS: /home/chronos/Extensions/<Extension ID>
You can copy the extension folder and drop it on a USB or in a network drive.
To install
Open Chrome and go to chrome://extensions.
Make sure Developer Mode is checked.
Click Load Unpacked Extension....
Find your copied directory and click Open.
The extension should install locally.
Rename the file extension .crx to .zip , like ( example.crx to example.zip )
Extract the zip file using Winrar or similar software
and Enjoy :)
To download the crx without store access, use this url.
https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D~~~~%26uc
//replace the ~~~~ characters with the id of extension :
https://chrome.google.com/webstore/detail/ultimate-user-agent-switc/ljfpjnehmoiabkefmnjegmpdddgcdnpo?hl=fr
To install an extension from a crx file, open Extension page and drag and drop the crx inside.
in window you should first enable hidden file and then go to this directory :
Windows 10/8/7/Vista: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\UserData\Default\Extensions\<Extension ID>
in above directory you will see extentions by id
For Ubuntu, now its in path: ~/.config/google-chrome/Profile\ 1/Extensions/ due to introduction of Profiles
I am trying to install the Dummy package to my laptop.
I have installed WAMP and i have placed the dummy package into the WWW directory.
However when i go to my Localhost from WAMP and click on the dummy page, instead of showing me the installation screen it shows my the directory index.
to create ENABLE_INSTALL_TOOL just use command line
win+r -> type cmd -> navigate to directory -> type: echo > ENABLE_INSTALL_TOOL
Dummy package has no sources inside, you can see, there's no even index.php file.
Use Source + Dummy which will give you an empty TYPO3 system or even better Introduction Package for learning purposes - working and containing lot of samples.
To create ENABLE_INSTALL_TOOL make sure that your system displays files' names with extension ie: open with the Windows Explorer folder where you unziped the package and make sure that it can see filenames as INSTALL.txt (not only INSTALL) if it doesn't you need to search in options of Windows Explorer...)
Then go to folder typo3conf and create just common, empty file ENABLE_INSTALL_TOOL.txt and finally chane it's name and remove .txt extension.
TYPOe install tool will be satisfied.