mirror of https://github.com/keeweb/keeweb
2017
parent
c651343f80
commit
fcb93f6df8
12
Gruntfile.js
12
Gruntfile.js
|
@ -17,12 +17,10 @@ module.exports = function(grunt) {
|
|||
const pkg = require('./package.json');
|
||||
const dt = new Date().toISOString().replace(/T.*/, '');
|
||||
const minElectronVersionForUpdate = '1.0.1';
|
||||
let zipCommentPlaceholder = 'zip_comment_placeholder_that_will_be_replaced_with_hash';
|
||||
const zipCommentPlaceholderPart = 'zip_comment_placeholder_that_will_be_replaced_with_hash';
|
||||
const zipCommentPlaceholder = zipCommentPlaceholderPart + '.'.repeat(512 - zipCommentPlaceholderPart.length);
|
||||
const electronVersion = pkg.devDependencies['electron'].replace(/^\D/, '');
|
||||
|
||||
while (zipCommentPlaceholder.length < 512) {
|
||||
zipCommentPlaceholder += '.';
|
||||
}
|
||||
const year = new Date().getFullYear();
|
||||
|
||||
function replaceFont(css) {
|
||||
css.walkAtRules('font-face', rule => {
|
||||
|
@ -109,7 +107,7 @@ module.exports = function(grunt) {
|
|||
},
|
||||
plugins: [
|
||||
new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', minChunks: Infinity, filename: 'vendor.js' }),
|
||||
new webpack.BannerPlugin('keeweb v' + pkg.version + ', (c) ' + new Date().getFullYear() + ' ' + pkg.author.name +
|
||||
new webpack.BannerPlugin('keeweb v' + pkg.version + ', (c) ' + year + ' ' + pkg.author.name +
|
||||
', opensource.org/licenses/' + pkg.license),
|
||||
new webpack.ProvidePlugin({ _: 'underscore', $: 'jquery' }),
|
||||
new webpack.IgnorePlugin(/^(moment)$/),
|
||||
|
@ -328,7 +326,7 @@ module.exports = function(grunt) {
|
|||
out: 'tmp/desktop',
|
||||
electronVersion: electronVersion,
|
||||
overwrite: true,
|
||||
'app-copyright': 'Copyright © 2016 Antelle',
|
||||
'app-copyright': `Copyright © ${year} Antelle`,
|
||||
'app-version': pkg.version,
|
||||
'build-version': '<%= gitinfo.local.branch.current.shortSHA %>'
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Copyright (C) 2016 Antelle
|
||||
Copyright (C) 2017 Antelle
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("KeeWebHelper")]
|
||||
|
@ -10,12 +10,12 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Antelle.Net")]
|
||||
[assembly: AssemblyProduct("KeeWebHelper")]
|
||||
[assembly: AssemblyCopyright("Copyright © Antelle 2016")]
|
||||
[assembly: AssemblyCopyright("Copyright © Antelle 2017")]
|
||||
[assembly: AssemblyTrademark("KeeWeb")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
|
@ -25,11 +25,11 @@ using System.Runtime.InteropServices;
|
|||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# KeeWeb official docker container
|
||||
# https://keeweb.info
|
||||
# (C) Antelle 2016, MIT license https://github.com/keeweb/keeweb
|
||||
# (C) Antelle 2017, MIT license https://github.com/keeweb/keeweb
|
||||
# Based on nginx-ssl-secure https://github.com/MarvAmBass/docker-nginx-ssl-secure/
|
||||
|
||||
# Building locally:
|
||||
|
|
Loading…
Reference in New Issue