Commit 5e302b09 authored by Karl Prieb's avatar Karl Prieb

create migration

parent aab5df91
......@@ -49,15 +49,7 @@ assets =
extensions: ['png']
width: 32
height: 32
'android_512':
label: 'android-chrome 512x512 (png)'
defaultUrl: 'images/logo/android-chrome-512x512.png'
constraints:
type: 'image'
extensions: ['png']
width: 512
height: 512
'android_192':
'favicon_192':
label: 'android-chrome 192x192 (png)'
defaultUrl: 'images/logo/android-chrome-192x192.png'
constraints:
......@@ -65,6 +57,14 @@ assets =
extensions: ['png']
width: 192
height: 192
'favicon_512':
label: 'android-chrome 512x512 (png)'
defaultUrl: 'images/logo/android-chrome-512x512.png'
constraints:
type: 'image'
extensions: ['png']
width: 512
height: 512
'touchicon_180':
label: 'apple-touch-icon 180x180 (png)'
defaultUrl: 'images/logo/apple-touch-icon.png'
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg class="rocket-loader" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="200px" height="200px" viewBox="0 0 200 200" enable-background="new 0 0 200 200" xml:space="preserve">
<path class="outer" fill="#C1282D" d="M185.094,100.547c0-8.516-2.547-16.683-7.574-24.274c-4.513-6.815-10.835-12.848-18.792-17.93
c-15.359-9.812-35.55-15.216-56.846-15.216c-7.114,0-14.125,0.601-20.926,1.792c-4.22-3.949-9.159-7.502-14.385-10.312
c-27.923-13.532-51.079-0.318-51.079-0.318S37.021,51.974,33.52,67.478c-9.632,9.554-14.852,21.075-14.852,33.07
c0,0.038,0.002,0.076,0.002,0.115c0,0.038-0.002,0.076-0.002,0.114c0,11.995,5.22,23.516,14.852,33.071
c3.501,15.503-18.028,33.188-18.028,33.188s23.156,13.214,51.079-0.317c5.227-2.811,10.166-6.364,14.385-10.313
c6.801,1.19,13.812,1.792,20.925,1.792c21.297,0,41.486-5.404,56.847-15.216c7.956-5.083,14.278-11.115,18.792-17.931
c5.027-7.592,7.574-15.758,7.574-24.274c0-0.038-0.002-0.076-0.002-0.114C185.092,100.624,185.094,100.586,185.094,100.547z"/>
<path class="inner" fill="#FFFFFF" d="M101.882,55.167c39.433,0,71.401,20.419,71.401,45.609c0,25.188-31.968,45.609-71.401,45.609
c-8.781,0-17.189-1.016-24.958-2.866c-7.896,9.498-25.265,22.704-42.138,18.435c5.489-5.896,13.62-15.856,11.879-32.262
c-10.113-7.87-16.185-17.94-16.185-28.916C30.479,75.587,62.448,55.167,101.882,55.167"/>
<g>
<circle fill="#C1282D" cx="101.882" cy="102.245" r="9.484"/>
<circle fill="#C1282D" cx="134.86" cy="102.245" r="9.484"/>
<circle fill="#C1282D" cx="68.902" cy="102.245" r="9.484"/>
</g>
<g>
<path fill="#CDCCCC" d="M101.882,140.385c-8.781,0-17.189-0.88-24.958-2.484c-6.972,7.269-21.331,17.04-36.212,16.681
c-1.959,2.972-4.09,5.401-5.926,7.374c16.873,4.269,34.243-8.937,42.138-18.436c7.769,1.852,16.178,2.867,24.958,2.867
c39.117,0,70.882-20.096,71.39-45.006C172.764,122.97,140.999,140.385,101.882,140.385z"/>
</g>
</svg>
RocketChat.Migrations.add({
version: 74,
up: function() {
if (RocketChat && RocketChat.models && RocketChat.models.Settings) {
RocketChat.models.Settings.remove({_id: 'Assets_favicon_64'});
RocketChat.models.Settings.remove({_id: 'Assets_favicon_96'});
RocketChat.models.Settings.remove({_id: 'Assets_favicon_128'});
RocketChat.models.Settings.remove({_id: 'Assets_favicon_256'});
RocketChat.models.Settings.update({_id: 'Assets_favicon_192'}, {
$set: {
i18nLabel: 'android-chrome 192x192 (png)'
}
});
}
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment